is this possible?
#4

pawn Код:
new GMs[][32] = {
  {"lvdm"},
  {"grandlarc"},
  {"rivershell"}
};

stock LoadRandomGm()
{
  new string[43];
  format(string, sizeof string, "changemode %s", GMs[random(sizeof GMs)]);
  SendRconCommand(string);
}
Might get some errors at the format(string, bla) crap, but something like that should do the trick.

Place all your GMs in a variable and random them.
Reply


Messages In This Thread
is this possible? - by Code_Red - 04.09.2010, 13:52
Re: is this possible? - by WillyP - 04.09.2010, 13:55
Re: is this possible? - by Cameltoe - 04.09.2010, 13:56
Re: is this possible? - by Hiddos - 04.09.2010, 14:00
Re: is this possible? - by Code_Red - 04.09.2010, 14:01

Forum Jump:


Users browsing this thread: 1 Guest(s)