15.10.2011, 20:37
Quote:
Loop
pawn Код:
|
pawn Код:
for(new i, PP = GetMaxPlayers(); i < PP; i++)
{
if(!IsPlayerConnected(i)) continue;
GivePlayerMoney(i, 1000);
}
//Or
#define GiveAllMoney(%0) for(new i,PP=GetMaxPlayers;i<PP;i++), GivePlayerMoney(i,%0)