Object Problem - 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 Problem (
/showthread.php?tid=542591)
Object Problem -
Rudy_ - 20.10.2014
So i'm having troubles regarding getting the right cords for object...
I use object = createobject and then AttachedObjectToPlayer(playerid, object etc...
My problem is, How can i get the right cords for the object? So the object isn't to much high or low, or rotated incorrectly... So how can i get the cords for it?
I am not using SetPlayerAttachedObject
I've heard its possible with JernejL's map editor?
Thanks
Re: Object Problem -
Roel - 20.10.2014
You can use EditAttachedObject and OnPlayerEditAttachedObject to get the coords
Re: Object Problem -
Rudy_ - 20.10.2014
Quote:
Originally Posted by Roel
You can use EditAttachedObject and OnPlayerEditAttachedObject to get the coords
|
Thanks, i tried it now. Its so hard to get the object rotated etc at the right place, is the any easier way.