21.04.2014, 20:21
pawn Код:
if(randomid == INVALID_PLAYER_ID || !IsPlayerConnected(randomid) || IsPlayerNPC(randomid))
{
new onlineids[MAX_PLAYERS];
new playersonline;
new pname1[16];
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
onlineids[playersonline] = i;
playersonline++;
}