The Solid 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: The Solid object (
/showthread.php?tid=81064)
The Solid object -
Guardian - 08.06.2009
I'm trying to add this solid object to my sa-mp server but i don't know how. I am getting better at scripting so some of it is easy.
Heres an example
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.
I don't get it please tell me how and which is which.
Re: The Solid object -
NEW_IE - 08.06.2009
Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ);
Modelid, = The Object Id
Float:X, Float:Y, Float:Z, = Object Position
Float:rX, Float:rY, Float:rZ = Rotation.
Re: The Solid object -
Abernethy - 08.06.2009
X = East & West
Y = North & South
Z = Up & Down
This helped me a lot when I started mapping.
EDIT: The map is 4000x4000.