Quote:
Originally Posted by fiki574_CRO
OK, i got one example for you, dont know will it work nor do you like it!
Create something like this:
pawn Код:
new MyMaps[][] = { {"YourMap1"}, {"YourMap2"} };
Also, you will need random map looping!
pawn Код:
new randmap = random(sizeof(MyMaps));
Then create a timer!
pawn Код:
forward LoadMap(); SetTimer("LoadMap",600000,true);
Lets create map loading!
pawn Код:
public LoadMap() { new mapstring[50]; format(mapstring,sizeof(mapstring),"loadfs %s",randmap); SendRconCommand(mapstring); return 1; }
OR:
pawn Код:
public LoadMap() { new mapstring[50]; format(mapstring,sizeof(mapstring),"loadfs %s",MyMaps[randmap][]); SendRconCommand(mapstring); return 1; }
This aint tested, but should work on this kind of concept!
|
Inside public you forgot GMX...And to unload the last FS becouse inside of FS it will need to add pos for Spawn and What ever he will do..