SA-MP Forums Archive
How to create pickup for player - 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: How to create pickup for player (/showthread.php?tid=474928)



How to create pickup for player - bugheada - 10.11.2013

I need to create a pickup for every player separately, it is possible ? or I have to use type 2 https://sampwiki.blast.hk/wiki/PickupTypes ?

I use CreateDynamicPickup
PHP код:
native CreateDynamicPickup(modelidtypeFloat:xFloat:yFloat:zworldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0); 
I tested to set the player ID for each player but it does not work


AW: How to create pickup for player - Nero_3D - 10.11.2013

There are only global pickups, not possible.

Even if you use PickupType 2 and stream the pickup only if the certain player is in range, all other players within range would be able to see it