SA-MP Forums Archive
Change map - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Change map (/showthread.php?tid=280303)



Change map - James_Bourne - 31.08.2011

how do i make so that the map changes every 10 mins?


Re: Change map - emokidx - 31.08.2011

https://sampforum.blast.hk/showthread.php?tid=223550
https://sampforum.blast.hk/showthread.php?tid=269336
next time.. S-E-A-R-C-H


Re: Change map - Davz*|*Criss - 31.08.2011

Example:

On top:

pawn Код:
forward NextMap();
OnGameModeInit

pawn Код:
SetTimer("NextMap",1000000, true);
And anywhere in script but not under an callback:

pawn Код:
public NextMap()
{
    SendRconCommand("changemode You_Next_GM_Map")
}
Example: SendRconCommand("changemode Race1")