disappearing spawn items
#3

https://sampwiki.blast.hk/wiki/PickupTypes

https://sampwiki.blast.hk/wiki/CreatePickup

Quote:

Note: While you will get a OnPlayerPickUpPickup triggered when a player picks up a pickup, keep in mind that several players can pick up same pickup, or that a player can pick up a pickup without the pickup being removed on all clients, if you want to reliably detect weapon pickups, you should use weapon type 1, and manually give weapons and destroy them when they are picked up. Don't forget to handle cases where several players pick up same pickup id aswell.

If you want the pickup to disappear when a player picks it up (if that's what you mean, I don't fully understand what your trying to say), destroy it on OnPlayerPickUpPickup then recreate it after a while.
Reply


Messages In This Thread
disappearing spawn items - by sheepondrugs - 21.08.2010, 00:54
Re: disappearing spawn items - by Retardedwolf - 21.08.2010, 01:46
Re: disappearing spawn items - by -Sneaky- - 21.08.2010, 01:50
Re: disappearing spawn items - by sheepondrugs - 21.08.2010, 13:15

Forum Jump:


Users browsing this thread: 1 Guest(s)