Looping through players
#2

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(PlayerInfo[i][pAdmin] != 0)
        SendClientMessage(i, -1, message);
    else
        break;
}
Try that.
Reply


Messages In This Thread
Looping through players - by jackx3rx - 27.07.2014, 20:50
Re: Looping through players - by Isolated - 27.07.2014, 21:29
Re: Looping through players - by Redirect Left - 27.07.2014, 21:30
Re: Looping through players - by Isolated - 27.07.2014, 21:38
AW: Re: Looping through players - by jackx3rx - 27.07.2014, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)