pawn Код:
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) return SendClientMessage(playerid, 0xFFFFFFFF, "Naudojimas /giveall [kiek]");
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GivePlayerMoney(i, value);
}
}
return 1;
}