12.02.2013, 12:03
Код:
CMD:giveall(playerid, params[]) { new value; if(PlayerInfo[playerid][pPadmin] == 0) return SendClientMessage( playerid, -1, "Tu ne pagrindinis administratorius!" ); if(sscanf(params, "d", value) != 0) SendClientMessage(playerid, 0xFFFFFFFF, "Naudojimas /giveall [kiek]"); return 1; for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { GivePlayerMoney(i, value); } } return 1; }