change gamemode - 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 gamemode (
/showthread.php?tid=338175)
change gamemode -
andrewgrob - 29.04.2012
hey i would like to know how i change gamemode when ones finished
example
server start
gamemode0 lvdm 1
i proberly know i need a timer on that
but my problem is i want to make a server called militarymissions
2 teams
so say if one team wins on gamemode 1
gamemode0 mmone 1
how will the server know its finished and start my other gamemode
gamemode0 mmtwo 1
is rcon send or something ?
Re: change gamemode -
Niko_boy - 29.04.2012
SendRconCommand i guess i havent tried much with such stuff
but if u have a public callback like
public FinishRound() to check winner add inside there rcon command to change gm and do a gmx
Re: change gamemode -
a.z.a.r - 04.01.2013
hmmm....
maybe u should put a timer and return SendRconCommand gmx... right? i'm not sure.
Re: change gamemode -
Tamer - 04.01.2013
Don't use gmx. But use SendRconCommand(changemode GAMEMODENAME);