14.06.2011, 18:57
Hello can someone help me with this command.
It should randomly select player who is online and display it.
Its like type some command and it says : you should kill (playername)
It should randomly select player who is online and display it.
pawn Code:
if(strcmp(cmd, "/mission", true) == 0)
{
format(coordsstring, sizeof(coordsstring), "Player name is %s", RANDOM PLAYER NAME);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
return 1;
}