SA-MP Forums Archive
GameMode Restart - 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: GameMode Restart (/showthread.php?tid=108496)



GameMode Restart - Tigerbeast11 - 14.11.2009

Hi!

This is what my server CFG looks like...

Код:
gamemode0 flying armed
filterscripts ladmin adminspec base
announce 1
query 1
weburl samp-mm.webs.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
I have 2 gm's

In their scripts, Under OnGameModeExit()

pawn Код:
SendRconCommand("gmx");
But only 1 gm repeats itself... :S plz can someone help?


Re: GameMode Restart - Tigerbeast11 - 14.11.2009

plz help



Re: GameMode Restart - Tigerbeast11 - 14.11.2009

Plz Plz Plz help me with this....


Re: GameMode Restart - Correlli - 14.11.2009

http://forum.sa-mp.com/index.php?topic=114010.0


Re: GameMode Restart - Tigerbeast11 - 14.11.2009

Quote:
Originally Posted by Don Correlli
Ye, sorry for bump, plz help me i tried searching but fail.


Re: GameMode Restart - Ironboy500 - 14.11.2009

1st add more than one gamemode in server cfg. And than set time in-game that will change your gamemods.




Re: GameMode Restart - CuervO - 15.11.2009

Код:
gamemode0 flying
gamemode1 armed
filterscripts ladmin adminspec base
announce 1
query 1
weburl samp-mm.webs.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000



Re: GameMode Restart - dice7 - 15.11.2009

Quote:
/rcon changemode [mode] - This command will change the current gamemode to the given one (example: if you want to play sftdm: /rcon changemode sftdm).
/rcon gmx - Will load the first gamemode (gamemode0) in server.cfg.



Re: GameMode Restart - Tigerbeast11 - 15.11.2009

Quote:
Originally Posted by dice7
Quote:
/rcon changemode [mode] - This command will change the current gamemode to the given one (example: if you want to play sftdm: /rcon changemode sftdm).
/rcon gmx - Will load the first gamemode (gamemode0) in server.cfg.
Thnx you guys!

Thnk you all for the answer


Re: GameMode Restart - Tigerbeast11 - 15.11.2009

Quote:
Originally Posted by dice7
Quote:
/rcon changemode [mode] - This command will change the current gamemode to the given one (example: if you want to play sftdm: /rcon changemode sftdm).
/rcon gmx - Will load the first gamemode (gamemode0) in server.cfg.
How can i do it so that after 8 mins, the next gm automatically starts?

In my gm, i have a timer, but when the gamemode finishes, the gamemode restarts! Why?!?

Is there something wrong with my settings? How should my server.cfg look like?


Note: I dont wanna write changemode, i want it to change automatically to next gamemode by itself