/createpickup
#6

Код:
[new]
new vehrepair;
 
public OnGameModeInit()
{
        Create3DTextLabel("Grab it fast!\n$500 dude!", text, color, x,y,z, drawdistance, virtualworld, testLOS);
        vehrepair = CreatePickup(model, pickupsid, x,y,z, virtualworld (-1 to make it show all worlds));
        return 1;
}
 
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == vehrepair)
    {
        GivePlayerMoney(playerid,500);     
    }
    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)