SA-MP Forums Archive
Why are all the gates in my 0.3d server rotated? - 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: Why are all the gates in my 0.3d server rotated? (/showthread.php?tid=333951)



Why are all the gates in my 0.3d server rotated? - Tass007 - 13.04.2012

I have my gates in my server which are made of both command and auto and they are both rotated, is there like a new object thing in 0.3d? please tell me so i can fix. I did some research and i can't find the 0.3d streamer please give me a link


Re: Why are all the gates in my 0.3d server rotated? - Rachael - 13.04.2012

The MoveObject command was changed between 0.3c and 0.3d
https://sampwiki.blast.hk/wiki/MoveObject

You should use this as a chance to re-script your gate code to take advantage of the fluid rotation that is now possible.


Re: Why are all the gates in my 0.3d server rotated? - Tass007 - 13.04.2012

Thank you


Re: Why are all the gates in my 0.3d server rotated? - Tass007 - 13.04.2012

How can i convert mta to 0.3d? objects?(sorry i double posted)


Re: Why are all the gates in my 0.3d server rotated? - IstuntmanI - 13.04.2012

Quote:
Originally Posted by Tass007
Посмотреть сообщение
How can i convert mta to 0.3d? objects?(sorry i double posted)
www.convertffs.com

Then search (CTRL+H) for (12 and replace with (18 and (13 replace with (19.
From map select the gates and create them with CreateObject and a variable for every gate, then use MoveObject.


Re: Why are all the gates in my 0.3d server rotated? - Tass007 - 13.04.2012

I don't understand


Re: Why are all the gates in my 0.3d server rotated? - Gooday - 13.04.2012

in 0.3d is:

(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0)

not anymore:

(objectid, Float:X, Float:Y, Float:Z, Float:Speed)

You need to add also the rotation and it won't rotate


Re: Why are all the gates in my 0.3d server rotated? - Tass007 - 13.04.2012

So do i need to make all my gates in mta again to make sure they aren't bugged? i am really not understanding..how i am meant to do this


Re: Why are all the gates in my 0.3d server rotated? - IstuntmanI - 13.04.2012

Quote:
Originally Posted by Tass007
Посмотреть сообщение
So do i need to make all my gates in mta again to make sure they aren't bugged? i am really not understanding..how i am meant to do this
Just recompile all of your scripts.


Re: Why are all the gates in my 0.3d server rotated? - Kakioshe22 - 13.04.2012

old:
(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0)
now:
(objectid, Float:X, Float:Y, Float:Z, Float:Speed)

All u have to do is remove Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0 from old MoveObject and it will work