GerardWay Posted May 24, 2011 Share Posted May 24, 2011 could anyone make me a script which when you type /gate (objectid) (command) you create a gate that only opens to a certain command to make it easier than having to type out the script every time a gate is needed oh and would it be possible to make it rotate with ctrl+arrow keys instead of mouse wheel? thank you. Link to comment
BriGhtx3 Posted May 24, 2011 Share Posted May 24, 2011 Why don't you create the gate with the map editor, get out the position/rotation and then create a script which moves it? Link to comment
Jaysds1 Posted May 24, 2011 Share Posted May 24, 2011 Here is a in-game resource to create gates https://community.multitheftauto.com/index.php?p=resources&s=details&id=614 Link to comment
GerardWay Posted May 25, 2011 Author Share Posted May 25, 2011 Here is a in-game resource to create gateshttps://community.multitheftauto.com/index.php?p=resources&s=details&id=614 i zlready have that gatemaker script but i need commanded gates so please anyone create a script that spawns them ingame>? Link to comment
BriGhtx3 Posted May 25, 2011 Share Posted May 25, 2011 Gate1 = createObject ( 988, 0, 0, 10.64999961853, 0, 0, 358.5 ) function toogleGate(thePlayer,command) moveObject (Gate1, 4000, 2884.5769042969, 2097.2353515625, 5) end addCommandHandler ( "gate", toogleGate ) This will create a gate in the center of the map. If you type gate, it will move down. 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