GetAttachedObjectPos - 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: GetAttachedObjectPos (
/showthread.php?tid=298199)
GetAttachedObjectPos -
Baboon - 19.11.2011
Hey guys,
I need a stock or function which gets the position of an attached object which is attached to a vehicle.
I will give +rep ofcourse if you could make me one or get me a working one

.
thanks
Re: GetAttachedObjectPos -
Joshb93 - 19.11.2011
So, your looking for just that public function? and nothing else right?
Re: GetAttachedObjectPos -
sleepysnowflake - 19.11.2011
GetObjectPos?
The object attached on a vehicle is stored in a variable, right ?
Re: GetAttachedObjectPos -
Baboon - 19.11.2011
Berlovan, GetObjectPos will give the positions where the object is created. It doesn't update it...
That is a bug and it is reported by me. But people say it is scriptable...
@ Josh, there is no public function for it. A stock would be fine.