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