Pickup from vehicle? - 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: Pickup from vehicle? (
/showthread.php?tid=183717)
Pickup from vehicle? -
[HUN]Jaki - 16.10.2010
Hi!
I'm trying to create a pickup which is pickupable from a vehicle, does not disappear, and does not fall through objects.
Is there any way to do this?
https://sampwiki.blast.hk/wiki/PickupTypes <- I've already tried nearly all of them, 14 is the best, It's the only pickup which can be picked up from a vehicle, but it falls through objects, and disappears. Is there a better type?
Thank you for your help.
Re: Pickup from vehicle? -
Sinner - 16.10.2010
Quote:
Originally Posted by [HUN]Jaki
Hi!
I'm trying to create a pickup which is pickupable from a vehicle, does not disappear, and does not fall through objects.
Is there any way to do this?
https://sampwiki.blast.hk/wiki/PickupTypes <- I've already tried nearly all of them, 14 is the best, It's the only pickup which can be picked up from a vehicle, but it falls through objects, and disappears. Is there a better type?
Thank you for your help.
|
Try using IsPlayerinRangeOfPoint() so when a player is near a pickup he gets whatever that pickup is supposed to give.