joedajoester Posted December 11, 2011 Posted December 11, 2011 How would i make a gate rotate? Like open upwards, basically make it rotate. What function is it. Thanks
Blaawee Posted December 11, 2011 Posted December 11, 2011 (edited) createObject moveObject Edited December 11, 2011 by Guest
joedajoester Posted December 11, 2011 Author Posted December 11, 2011 I know that. But for rotation it adds and subtracts the rotation so if someone leaves the col zone the gate glitches and opens more than it should.
Jaysds1 Posted December 11, 2011 Posted December 11, 2011 you could use setElementRotation My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Castillo Posted December 12, 2011 Posted December 12, 2011 Make a check, so if another player enters the colshape and the gate is already opening, cancel the operation. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
myonlake Posted December 12, 2011 Posted December 12, 2011 And the check can be made for example by element datas. If I helped you, please click the like button on the right Thanks!
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