SA-MP Forums Archive
Pickup Don't Disappear - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pickup Don't Disappear (/showthread.php?tid=299650)



Pickup Don't Disappear - misho1 - 26.11.2011

How To Make The Pickup Don't Disappear When I Pickup Some Thing


Re: Pickup Don't Disappear - Kostas' - 26.11.2011

PickupTypes
Code:
 0 The pickup does not display.
 1 Not pickupable, exists all the time. (Suitable for completely scripted pickups using OnPlayerPickUpPickup)
 2 Pickupable, respawns after some time.
 3 Pickupable, respawns after death
 4 Disappears shortly after created (perhaps for weapon drops?)
 5 Disappears shortly after created (perhaps for weapon drops?)
 8 Pickupable, but has no effect. Disappears automatically.
 11 Blows up a few seconds after being created (bombs?)
 12 Blows up a few seconds after being created.
 13 Slowly decends to the ground.
 14 Pickupable, but only when in a vehicle.
 15 Pickupable, respawns after death
 19 Pickupable, but has no effect (information icons?)
 22 Pickupable, respawns after death.
 23 Pickupable, but doesn't disappear on pickup.



Re: Pickup Don't Disappear - misho1 - 26.11.2011

thnx


Re: Pickup Don't Disappear - Kostas' - 26.11.2011

Your Welcome!


Re: Pickup Don't Disappear - KosmasRego - 26.11.2011

Or just use DestroyPick(pickupid);