SA-MP Forums Archive
Drop object - 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: Drop object (/showthread.php?tid=616050)



Drop object - AndreiWow - 30.08.2016

How to put a object infront of a player? I want to make a /drop command and drop the object that the player is holding, ex a meat bag, I have the id of the object, just idk how to detect it.


Get the pos of the player and spawn the object at those pos but add a + at posx?


Re: Drop object - Shinja - 30.08.2016

player Z-1


Re: Drop object - AbyssMorgan - 31.08.2016

Use
PHP код:
Float:GetPointInFrontOfPlayer(playerid,&Float:tx,&Float:ty,Float:radius); 
https://sampforum.blast.hk/showthread.php?tid=591010