18.11.2013, 19:45
pawn Код:
new str[128];
new rand = random(sizeof(randominf));
switch(rand)
{
case 0: format(str,sizeof(str),randominf[rand],GetName(giveplayerid),kills[giveplayerid]);
case 1: format(str,sizeof(str),randominf[rand],GetName(giveplayerid),something);
default: format(str,sizeof(str),randominf[rand],GetName(giveplayerid),level[giveplayerid]);
}
SendClientMessageToAll(-1,str);