Problem about pickups
#4

Quote:
Originally Posted by JonnyDeadly
Посмотреть сообщение
That should work. I'm not sure what the problem is. Do you get any warnings?
Nope.But i saw this on sa-mp wiki.
(https://sampwiki.blast.hk/wiki/CreatePickup)

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.

And i destroyed and recreated pickup after onplayerpickuppickup.
Reply


Messages In This Thread
Problem about pickups - by Nightmare[TR] - 24.06.2012, 17:50
Re: Problem about pickups - by Nightmare[TR] - 25.06.2012, 06:50
Re: Problem about pickups - by JonnyDeadly - 25.06.2012, 08:31
Re: Problem about pickups - by Nightmare[TR] - 25.06.2012, 08:39

Forum Jump:


Users browsing this thread: 1 Guest(s)