will briggs Posted June 5, 2011 Share Posted June 5, 2011 Hi, On most RPG servers i have played on, they have a rotational barier gate on the police station is LS. I know how to make a gate move from left to right, but i cant make it rotate. Please could someone help me with this? I dont have any code example for this as i dont really know where to start Thanks Link to comment
Aibo Posted June 5, 2011 Share Posted June 5, 2011 see https://wiki.multitheftauto.com/wiki/MoveObject there are optional rotation parameters, use them. Link to comment
will briggs Posted June 5, 2011 Author Share Posted June 5, 2011 Hi, ive had a look at that, but im sort of not that good with scripting, and would it be posible for you to write an example and post it as a reply sorry Link to comment
Aibo Posted June 5, 2011 Share Posted June 5, 2011 well post the code where you make the gate move first. Link to comment
will briggs Posted June 5, 2011 Author Share Posted June 5, 2011 to be honest, i had the maving gate mod of the comunity, thats why im sorta stuck, as i want to make an independant resource or build it into my main as a gate that rotates. Thats why i asked you :\ Link to comment
Jaysds1 Posted June 5, 2011 Share Posted June 5, 2011 ok do you want it in xml file, lua file? Link to comment
Jaysds1 Posted June 5, 2011 Share Posted June 5, 2011 here is a resource that i got from the community, you could create a gate in-game and use the buttons to move it (right, left, rotate, up, down) I used it and it works fine for meeee. HERE: https://community.multitheftauto.com/index.php?p=resources&s=details&id=614 sorry I couldn't get the lua code be cuz I have to go now.... Later I'll get you da lua code...... Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now