Restarting with a different gamemode? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Restarting with a different gamemode? (
/showthread.php?tid=382358)
Restarting with a different gamemode? -
SomeRandomGuy123 - 03.10.2012
Ok so basically what I want to do, is the server to restart after five minutes of playing with a new script, automatically.
Could anyone give me some help on this? Thank you
(E.G, playing DM for 5 minutes, server restarts with a TDM script and so on)
Re: Restarting with a different gamemode? -
linuxthefish - 03.10.2012
Interestingly enough, this is built into SA-MP although it's not documented well:
https://sampwiki.blast.hk/wiki/Controlli...oaded_gamemode and
https://sampwiki.blast.hk/wiki/Server.cfg
You could also send the rcon command "changemode [mode]" every 5 mins...
Re: Restarting with a different gamemode? -
SomeRandomGuy123 - 03.10.2012
How do I make it so the rcon does changemode every five minutes without me having to type it?
Re: Restarting with a different gamemode? -
Alcatraz Gaming - 04.10.2012
/rcon changemode
GM name is to change the Game-mode through RCON.
Don't know whether this works, but try and edit this on server.cfg
gamemode 0
GM name 1
gamemode 1
GM name 1
Re: Restarting with a different gamemode? -
Gamer_007 - 04.10.2012
Did u created all the folder in scriptfiles which necessary.IF no then first create them and then tell wht happens.