can u help me for put command into an object
#4

Quote:
Originally Posted by Hayden_Bruin
Посмотреть сообщение
i'll give you an example

You can find pickup types here https://sampwiki.blast.hk/wiki/PickupTypes
and object ids here https://sampwiki.blast.hk/wiki/Model_ID
pawn Код:
//top of the script
new pickupname;

pickupname = CreatePickup(objectid, typeofpickup,pickupx, pickupy, pickupz, -1);

public OnPlayerPickUpPickup(playerid,pickupid)
{
     if(pickupid == pickupname)
     {
        //add your ShowPlayerDialog here
     }
     return 1;
}
should i write that into my game mode or in my filterscript?
my weaponshop commmand is in filterscript
Reply


Messages In This Thread
can u help me for put command into an object - by Petrikk - 28.12.2010, 21:33
Re: can u help me for put command into an object - by _rAped - 28.12.2010, 21:49
Re: can u help me for put command into an object - by Haydz - 28.12.2010, 22:07
Re: can u help me for put command into an object - by Petrikk - 30.12.2010, 12:30
Re: can u help me for put command into an object - by _rAped - 30.12.2010, 12:34
Re: can u help me for put command into an object - by Petrikk - 30.12.2010, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)