Estevam2d Posted November 3, 2013 Posted November 3, 2013 this script is not mine I'm just learning how to deal with them, but because this is not opening the gate when I go into the cylinder? local gate = createObject(980, 96.472, 1920.457, 20.029, 0, 0, 90) local marker = createMarker(89.714, 1920.902, 16.926, "cylinder", 2, 255, 0, 0, 255) function open(hitPlayer) if getElementType(hitPlayer) == "player" then local theTeam = getPlayerTeam(hitPlayer) if theTeam and getTeamName(theTeam) == "Exercito" then moveObject(gate, 2000, 96.291, 1932.231, 20, 0, 0, 0 ) end end end addEventHandler("onMarkerHit", marker, open)
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