The Solid object
#1

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.
Reply
#2

Код:
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.
Reply
#3

X = East & West
Y = North & South
Z = Up & Down

This helped me a lot when I started mapping.

EDIT: The map is 4000x4000.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)