will briggs Posted June 5, 2011 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
Aibo Posted June 5, 2011 Posted June 5, 2011 see https://wiki.multitheftauto.com/wiki/MoveObject there are optional rotation parameters, use them.
will briggs Posted June 5, 2011 Author 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
will briggs Posted June 5, 2011 Author 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 :\
Jaysds1 Posted June 5, 2011 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......
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