Advertisement
Guest User

Auto Repair and Flipper cleo code

a guest
Jan 6th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. {$CLEO .cs}
  2.  
  3. //-------------MAIN---------------
  4. thread 'VARU'
  5.  
  6. :VARU_11
  7. wait 10
  8. if
  9. Player.Defined($PLAYER_CHAR)
  10. else_jump @VARU_11
  11. if and
  12. Actor.Driving($PLAYER_ACTOR)
  13. 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
  14. else_jump @VARU_11
  15. 0@ = Actor.CurrentCar($PLAYER_ACTOR)
  16. jump @VARU_67
  17.  
  18. :VARU_67
  19. wait 10
  20. if
  21. 01F4: car 0@ flipped
  22. else_jump @VARU_192
  23. wait 1000
  24. if
  25. 01F4: car 0@ flipped
  26. else_jump @VARU_192
  27. 02E3: 4@ = car 0@ speed
  28. wait 10
  29. if
  30. 6.0 > 4@
  31. else_jump @VARU_192
  32. 0819: 5@ = actor $PLAYER_ACTOR distance_from_ground
  33. wait 10
  34. if
  35. 6.0 > 5@
  36. else_jump @VARU_192
  37. wait 10
  38. 0731: set_car 0@ y_angle_to 0
  39. jump @VARU_192
  40.  
  41. :VARU_192
  42. wait 10
  43. 1@ = Car.Health(0@)
  44. if
  45. 650 > 1@
  46. else_jump @VARU_11
  47. 0A30: repair_car 0@
  48. wait 0
  49. 0AF9: samp say_msg "/gydyti"
  50. jump @VARU_11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement