03.10.2014, 01:33
(
Последний раз редактировалось JJack; 03.10.2014 в 02:11.
)
AddStaticPickup = To create the pickup
You'll need ZCMD include.
Place this after the OnPlayerCommandText or anywhere.
You'll need ZCMD include.
Код:
forward Money(); public Money() { new string[128], moneyamount = 1 + random(1000); GivePlayerMoney(playerid, moneyamount); format(string, sizeof(string), "You have robbed $%i.", moneyamount); SendClientMessage(playerid, 0xFFFFFFF, string); return 1; }
Код:
CMD:rob(playerid, params[]) { SetTimerEx("RobbingSystem", 45000, false, "i", playerid); GameTextForPlayer(playerid, "Robbing", 4500, 3); return 1; }