Setting time limit. help please? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Setting time limit. help please? (
/showthread.php?tid=66950)
Setting time limit. help please? -
Drift_04 - 25.02.2009
i want to know how to makr it so i can set a time limit, and when the time limit runs out the server restarts and starts with another gamemode.
just like mini missions, but its not the same gamemode. not copying. =P Thankyou!
~~[Drift]~~
Re: Setting time limit. help please? -
brett7 - 25.02.2009
ongamemodeinit put "SetTimer("OnGameModeExit", RoundTime, 0);"
Re: Setting time limit. help please? -
[RP]Rav - 25.02.2009
Set a timer in OnGamemodeInit(), in the timer put SendRconCommand("changemode [name of the new gamemode]");
do this for every gamemode you run and voilа, you're done
Re: Setting time limit. help please? -
Drift_04 - 25.02.2009
yo umm could you tell me how to make the complete line please? i can't get it right, so do i put SetTimer(changemode, or what?
and it also says that canhemode isnt defined, like it isnt a command u know..
thanks guys!
And it also says undefined symbol roundtime