Advertisement
lol7

FLYER_STOP_CAR_EXITING_FIX.cs

Sep 25th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. {$CLEO}
  2. 0000: NOP
  3.  
  4. while true
  5. wait 0
  6. if gosub @0
  7. then
  8. if and
  9. 00DF: actor $PLAYER_ACTOR driving
  10. key_down 70
  11. then
  12. 0@ = 1
  13. 03C0: 1@ = actor $PLAYER_ACTOR car
  14. 0574: set_car 1@ keep_position 1
  15. 0633: AS_actor $PLAYER_ACTOR exit_car
  16. while 844B: not actor $PLAYER_ACTOR on_foot
  17. wait 0
  18. 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
  19. if
  20. 30@ == 1
  21. then
  22. break
  23. end
  24. end
  25. 0574: set_car 1@ keep_position 0
  26. end
  27. if
  28. 0@ == 1
  29. then
  30. 0@ = 0
  31. 01C3: remove_references_to_car 1@
  32. end
  33. end
  34. end
  35.  
  36. :0
  37. wait 0
  38. 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
  39. if
  40. 30@ == 1
  41. then
  42. return_true
  43. else
  44. return_false
  45. end
  46. return
  47.  
  48. :1
  49. wait 0
  50. if or
  51. 844B: not actor $PLAYER_ACTOR on_foot
  52. 0449: actor $PLAYER_ACTOR in_a_car
  53. 00DF: actor $PLAYER_ACTOR driving
  54. then
  55. return_true
  56. else
  57. return_false
  58. end
  59. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement