31.03.2012, 15:36
pawn Код:
for(new i=0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i)) CallRemoteFunction("GiveMoney", "ii", i, money);
pawn Код:
format(string, sizeof(string), "%s has given everyone $%d!", aName, money);
for(new i=0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i)) CallRemoteFunction("GiveMoney", "ii", i, money);
format(string, sizeof(string), "%s has given everyone $%d!", aName, money);