/createpickup
#3

Something like this:



Код:
new pickup1;

public OnGameModeInit()
      pickup1 = CreatePickup(1318,9000000,-1033.5370,-1189.0121,129.2188);//Position of Pickup

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pickup1)//Name of pickup
    {
       GivePlayerMoney(playerid, 800);//Amount
       return 1;
}
    }
Reply


Messages In This Thread
/createpickup - by suni - 18.04.2015, 17:42
Re: /createpickup - by Azula - 18.04.2015, 17:47
Re: /createpickup - by lanix - 18.04.2015, 18:25
Re: /createpickup - by suni - 18.04.2015, 20:49
Re: /createpickup - by suni - 19.04.2015, 02:59
Re: /createpickup - by justice96 - 19.04.2015, 03:22

Forum Jump:


Users browsing this thread: 1 Guest(s)