Object Parameters - 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: Object Parameters (
/showthread.php?tid=79895)
Object Parameters -
SimonXY - 31.05.2009
Hello everyone, i'm trying to script a moving gate and i'm in need of a little help.
Could someone explain to me what each of these degrees represent? I know the first three are x, y and z but i would like to know what direction it will move the object in.
Код:
lvpdgatewest=CreateObject(976, 2294.2949, 2498.0066, 3.2734, 0.0000, 0.0000, 0.0000);
Regards,
Simon.
Re: Object Parameters -
Backwardsman97 - 31.05.2009
That will move the object no where. It goes like this though.
pawn Код:
CreateObject(modelid,x,y,z,rx,ry,rz); //Last 3 are x, y, z roation
Re: Object Parameters -
SimonXY - 31.05.2009
ok that's what i wanted to know. just how to rotate the gate. i know it wont move anywhere yet. thanks alot