22.09.2015, 06:51 
	
	
	
		Alright, i setup a fast code for random changing gamemodes, but when compiling this makes crash Pawno:
	
	
	
	
Код:
new ModeNames[][] =
{
    {"GM1"},
    {"GM2"},
    {"GM3"},
    {"GM4"}
};
public GMChange();
{
new modestring[50];
new randmode = random(sizeof(ModeNames));
format(modestring,sizeof(modestring),"The Next mode will be %s!",ModeNames[randmode]);
SendClientMessageToAll(0x32CD32FF,modestring);
format(modestring,sizeof(modestring),"changemode %s",ModeNames[randmode]);
SendRconCommand(modestring)
return 1;
}




