Help Me With Pickup
#2

AddStaticPickup = To create the pickup
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;
}
Place this after the OnPlayerCommandText or anywhere.

Код:
CMD:rob(playerid, params[]) 
{
    SetTimerEx("RobbingSystem", 45000, false, "i", playerid);
    GameTextForPlayer(playerid, "Robbing", 4500, 3);
    return 1;
}
Reply


Messages In This Thread
Help Me With Pickup - by astanalol00 - 03.10.2014, 01:01
Re: Help Me With Pickup - by JJack - 03.10.2014, 01:33
Re: Help Me With Pickup - by astanalol00 - 03.10.2014, 01:59
Re: Help Me With Pickup - by JJack - 03.10.2014, 02:09
Re: Help Me With Pickup - by astanalol00 - 03.10.2014, 02:27
Re: Help Me With Pickup - by JJack - 03.10.2014, 02:41
Re: Help Me With Pickup - by astanalol00 - 03.10.2014, 10:38
Re: Help Me With Pickup - by JJack - 03.10.2014, 10:48
Re: Help Me With Pickup - by astanalol00 - 03.10.2014, 10:50
Re: Help Me With Pickup - by JJack - 03.10.2014, 10:55

Forum Jump:


Users browsing this thread: 2 Guest(s)