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



object pos - alexanderjb918 - 24.06.2016

Код:
maskitem = SetPlayerAttachedObject(playerid,1,19036,2,0.1,0.0,0.0,90.0,-180.0,90.0,1.2,1.2,1.2);
I want it on the face right now its like attached to the side any idea?


Re: object pos - Mencent - 24.06.2016

Hello!

You can use the function "EditAttachedObject" to edit your current attached object and then you can take the true coordinations of "OnPlayerEditAttachedObject".

=> https://sampwiki.blast.hk/wiki/OnPlayerEditAttachedObject

So, when you edit this object you can print the true coordinations in OnPlayerEditAttachedObject.