flirtyboy23 Posted January 19, 2011 Posted January 19, 2011 OMG IVE tryed many resources n they all fail so im want to try it manually how to make an Movable gate that opens on teams ?
Castillo Posted January 19, 2011 Posted January 19, 2011 Look at the links below. https://wiki.multitheftauto.com/wiki/GetPlayerTeam https://wiki.multitheftauto.com/wiki/GetTeamName https://wiki.multitheftauto.com/wiki/CreateObject https://wiki.multitheftauto.com/wiki/MoveObject San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
flirtyboy23 Posted January 19, 2011 Author Posted January 19, 2011 Is it possible to make this Noob Friendly I mean like brand new to lua friendly plz
Castillo Posted January 19, 2011 Posted January 19, 2011 (edited) gate = createObject(ID, X, Y, Z) function moveGate(player) team = getPlayerTeam(player) if team then teamName = getTeamName(team) if teamName == "BLABLA" then moveObject(gate, 5000, newX, newY, newZ) end end end addCommandHandler("move",moveGate) Edited January 19, 2011 by Guest San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted January 19, 2011 Posted January 19, 2011 check the post, i've edited it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
flirtyboy23 Posted January 19, 2011 Author Posted January 19, 2011 (edited) it didnt move ? gate = createObject(971, 96.57, 1919.40, 20.75585, 0, 0, 270) function moveGate(player) team = getPlayerTeam(player) if team then teamName = getTeamName(team) if teamName == "Military" then moveObject(gate, 5000, 97.01, 1915.55, 18.17) end end end addCommandHandler("move",moveGate) Edited January 19, 2011 by Guest
Castillo Posted January 19, 2011 Posted January 19, 2011 huh? post what you have done. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted January 20, 2011 Posted January 20, 2011 Use the "EDIT" button next time San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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