Server Start Random Map
#1

When a round finishes, how do I make the server choose a random gamemode to start? I have minigames and I want it to start random minigames after a round ends.
Reply
#2

Randome gamemode..i don`t think you can.
But i think you can do like this but with FS..and you can change some maps but not the gamemmode.
Reply
#3

Like so:
Код:
new Gamemodes[4][] { {"bare"}, {"grandlarc"}, {"lvdm"}, {"rivershell"} }
ChangeGameMode()
	{
	new gamemode = random(sizeof(Gamemodes)),str[64];
	format(str,"changemode %s",Gamemodes[gamemode]);
	SendRconCommand(str);
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)