SA-MP Forums Archive
Solid Object floating - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Solid Object floating (/showthread.php?tid=81109)



Solid Object floating - Guardian - 08.06.2009

PLease tell me how to make the object i create to be on the ground so it cannot float in the air.
objectid = CreateObject( 2587, 2001.195679, 1547.113892, 14.283400, 0, 0, 96 )

modelid The Model ID you want to use.

Float:X The X coordinate.

Float:Y The Y coordinate.

Float:Z The Z coordinate.

Float:rX The X rotation.

Float:rY The Y rotation.

Float:rZ the Z rotation.


Re: Solid Object floating - lol2112 - 08.06.2009

As far as I know you would just need to fiddle about with the z coordinate...


Re: Solid Object floating - Think - 08.06.2009

Quote:
Originally Posted by lol2112
As far as I know you would just need to fiddle about with the z coordinate...
true, just get the Z coord down till he touches the ground.