Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. {$CLEO .cs}
  2.  
  3. //-------------MAIN---------------
  4. 0000: NOP
  5.  
  6. :carstop_2
  7. wait 0
  8. if
  9. Player.Defined($PLAYER_CHAR)
  10. jf @carstop_2
  11. if and
  12. not actor.DrivingVehicleType($PLAYER_ACTOR #DINGHY) // хз зачем проверка модели Dinghy, но ок
  13. actor.Driving($PLAYER_ACTOR)
  14. 0AB0: key_pressed 8
  15. jf @carstop_2
  16. 03C0: 2@ = actor $PLAYER_ACTOR car
  17. if
  18. 8039: NOT 2@ == -1
  19. jf @carstop_2
  20. if
  21. 8185: not car 2@ health >= 1000
  22. jf @carstop_2
  23. 0A30: repair_car 2@
  24. jump @carstop_2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement