Reggae Posted August 12, 2015 Posted August 12, 2015 When the object reaches the end of the "Object move" it to be excluded Sorry my bad english i an brazilian local marker = createMarker ( 1327.3870849609,-2693.2734375,7.6328830718994, "cylinder", 1.5, 255, 255, 0, 170 ) local myBlip = createBlip( 430.34103393555,-3729.3193359375,6.0948004722595, 51) addEventHandler ( "onMarkerHit", marker, function ( thePlayer ) if ( getElementType ( thePlayer ) == "player" ) then if isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Everyone" ) ) then obj = createObject ( 9584, 1278.4388427734,-2774.5419921875,9.5540159702301, 0, 0, 270 ) moveObject ( obj, 60000, 741.53302001953,-3456.9826660156,6.0948004722595 ) setElementPosition ( thePlayer, 1280.5112304688,-2785.1921386719,20.063390731812 ) setElementInterior (thePlayer, 0) setElementDimension (thePlayer, 0) end end end )
t3wz Posted August 13, 2015 Posted August 13, 2015 moveObject ( obj, 60000, 741.53302001953,-3456.9826660156,6.0948004722595 ) setTimer ( destroyElement, 60000, 1, obj ) obs: there's a portuguese section, you could post there if your english isn't good.
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