Advertisement
Guest User

Untitled

a guest
May 27th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. myMarker3 = createMarker( -1617.57,712.02,874.45, 'corona', 10, 0, 0, 255, 0)
  2. bra3 = createObject ( 980, -1617.57,712.02,874.45, 0, 0, 0 )
  3. function MarkerHit2 (hitPlayer, matchingDimension)
  4. local playera = hitPlayer
  5. if getElementType( playera ) == "player" then
  6. if isObjectInACLGroup( 'user.'..getAccountName( getPlayerAccount( playera ) ), aclGetGroup( 'FCPD' ) ) then
  7. moveObject ( bra3, 1000, -1617.57,712.02,874.45)
  8. end
  9. end
  10. end
  11.  
  12.  
  13.  
  14. function MarkerLeave2 (thePlayer)
  15. moveObject ( bra3, 1000, -1617.57,712.02,874.45)
  16. end
  17. addEventHandler ( "onMarkerLeave", myMarker2, MarkerLeave2 )
  18. addEventHandler ( "onMarkerHit", myMarker2, MarkerHit2 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement