19.07.2011, 18:08
Код:
dcmd_money500(playerid, params[]) { new id; if (sscanf(params, "u", id)) SendClientMessage(playerid, 0xFF0000AA, "Usage: /money500 <ID>"); else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000AA, "Player not found"); else { GivePlayerMoney(id,500.0); SendClientMessage(id,COLOR_GREEN,"You have received 500 Dollars"); { return 1; }