joedajoester Posted November 10, 2011 Share Posted November 10, 2011 I put this together from the wiki, part from it and stuff, i dont get any errors in debug console, i need it to teleport someone when thet walk into the marker. s2 = createBlip( -2519, -623, 133, 23) dutymarker = createMarker(-2519, -623, 131, 'cylinder', 2.0, 255, 0, 0, 150) function duty(thePlayer, matchingDimension) if isElementWithinMarker(thePlayer, dutymarker) then setElementPosition ( thePlayer, -1980.78, 660.05, 46.56 ) end end Link to comment
Castillo Posted November 10, 2011 Share Posted November 10, 2011 s2 = createBlip( -2519, -623, 133, 23) dutymarker = createMarker(-2519, -623, 131, 'cylinder', 2.0, 255, 0, 0, 150) function duty(thePlayer, matchingDimension) setElementPosition ( thePlayer, -1980.78, 660.05, 46.56 ) end addEventHandler("onMarkerHit",dutymarker,duty) Link to comment
joedajoester Posted November 10, 2011 Author Share Posted November 10, 2011 Thank you! 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