21.02.2012, 13:34
Код:
enum RefundStuffs { Crack, Pot, level, BankCash } new Refund[MAX_PLAYERS][RefundStuffs]; public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/refund", cmdtext, true, 10) == 0) { Refund[playerid][Crack] = 10; Refund[playerid][Pot] = 10; Refund[playerid][level] = 3; Refund[playerid][BankCash] = 1000000; GivePlayerMoney(playerid,500000); return 1; } return 0; }
But I don't know how, Anyone know what I should do?