Pickups
#3

Quote:
Originally Posted by Banana_Ghost
Посмотреть сообщение
pawn Код:
//Put this somewhere at the top of your script.
new informationpickup;
 
public OnGameModeInit()
{
    Create3DTextLabel("Information", -1, 0, 0,10, 50, 0, 0);
    informationpickup = CreatePickup(1239, 1, 0, 0, 10, -1);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == informationpickup)
    {
        //Put here what you want this pickup to do.
    }
    return 1;
}
Edit the coordinates, etc, to suit your needs.
Can you please explain it to me, I don't just want to copy and paste.
Reply


Messages In This Thread
Pickups - by mkmk - 04.11.2014, 21:26
Re: Pickups - by Banana_Ghost - 05.11.2014, 02:29
Re: Pickups - by mkmk - 05.11.2014, 18:00
Re: Pickups - by HY - 05.11.2014, 18:36

Forum Jump:


Users browsing this thread: 1 Guest(s)