Random 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Random Gamemode (
/showthread.php?tid=94639)
Random Gamemode -
Gappy - 31.08.2009
Is there a way I can change the gamemode to a random one?
So like when the gamemode finishes, a new random gamemode starts.
Re: Random Gamemode -
ded - 31.08.2009
Quote:
Originally Posted by Gappy
Is there a way I can change the gamemode to a random one?
So like when the gamemode finishes, a new random gamemode starts.
|
Yeah ... add more lines to your server.cfg .. for example:
Quote:
Originally Posted by server.cfg
gamemode0 lvdm 1
gamemode1 lyse
gamemode2 minigunmadness
gamemode3 1337gm
etc, etc.
|
Re: Random Gamemode -
brett7 - 01.09.2009
make an array of gamemodes then select a random one from that