Dockinoke
Site Admin - SKC Leader
   
 
Joined: 20 Mar 2008
Posts: 2728
Location: Sicily, Italy
|
Posted: 01 Jun 2008, 10:15 Post subject: [Race Server] Select map script |
|
|
EACH server of mta have random select of the maps. This is ok.
What do you think if we select, still random, the "type" of map following an exactly sequence?
Example.
We have on the server only 24 maps.
7 Race, like Imolasleague
7 offroads/Stock maps
5 motorbike maps
3 plane maps
2 Fun maps
On "each" map, we put a prefix, like this: " RACE- ", " MISC- ", "BIKE-", "PLANE-", "FUN-" (or others, we may decide whit more precision the typology)
Whit a simply counter, few condiction to check the prefix of map name, we can set a sequence for the random like that.
3 RACES, 2MISC, 1BIKE, 1PLANE, 1FUN
or
1RACE, 1MISC, 1RACE, 1BIKE, 1PLANE, 1RACE, 1FUN
...and, at the end of that sequence, repeat again.
I know, english bad, but if anyone understand what that mean, plz help me to translate. ^^
[/code]
Relax Rulez 8-)
<<The difference between a newbie and a noob? The first learns, the second is pwnt.>> - Docki at phone whit a friend
Docki sharable maps here: [url]http://sdrv.ms/O4MJx0[/url]
|
|