Quote:
Originally Posted by SickAttack
pawn Код:
stock SendMessageToAdmins(const color, const string[]) { for(new i = 0, j = GetPlayerPoolSize(); i <= j; i ++) { if(!IsPlayerConnected(i) || !PlayerInfo[i][Level] || !IsPlayerAdmin(i)) { continue; }
SendClientMessage(i, color, string); } return 1; }
@TwinkiDaBoss - Update your player loops.
[] = index/cell
() = arguments/operation
|
I personally use foreach for this stuff, but a good point there.