SA-MP Forums Archive
Calculate the position relative of the 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: Calculate the position relative of the object? (/showthread.php?tid=547336)



Calculate the position relative of the object? - SWET - 22.11.2014

hi! i have a problem, how to calculate the position relative of the object, for example. billiard balls set on a table which stands at position x, y, z?


Re: Calculate the position relative of the object? - Ryz - 22.11.2014

simple way use sa:mp map construction

select object and get cordinates


Re: Calculate the position relative of the object? - SWET - 22.11.2014

I mean the dynamic objects creation pool table and placement billiard balls on this pool table.