Weapon pickup - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weapon pickup (
/showthread.php?tid=102747)
Weapon pickup -
potato - 17.10.2009
Hi!
I made a simple weapon drop script, which makes a pickup of a weapon.
I wanted to know if it will be possible to make a system that skips a weapon pickup if I have a weapon already in that slot and don't press ACTION (just like in SP).
Currently I have all pickups to pickup type 19.
Is there a pickup type that doesn't pickup and dissapears but does call OnPlayerPickupPickup?
Re: Weapon pickup -
CracK - 17.10.2009
https://sampwiki.blast.hk/wiki/Pickup_help
I use type 23, and DestroyPickup after OnPlayerPickUpPickup call.
Re: Weapon pickup -
potato - 17.10.2009
Thanks! Hope it will work my way.