Advertisement
lol7

Flyer's GodMode assistance.cs

Sep 25th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. {$CLEO}
  2.  
  3. 0000:
  4.  
  5. while true
  6. wait 0
  7. if gosub @1
  8. then
  9. if
  10. 0256: player $PLAYER_CHAR defined
  11. then
  12. if
  13. 044B: actor $PLAYER_ACTOR on_foot
  14. then
  15. 02AB: set_actor $PLAYER_ACTOR immunities BP 1 FP 1 EP 1 CP 1 MP 1
  16. 02A9: set_actor $PLAYER_ACTOR immune_to_nonplayer 1
  17. 04D8: set_actor $PLAYER_ACTOR drowns_in_water 0
  18. if
  19. 0AFA: is_samp_available
  20. then
  21. if and
  22. 8B21: not samp is_chat_opened
  23. 0256: player $PLAYER_CHAR defined
  24. key_down 49
  25. then
  26. 0223: set_actor $PLAYER_ACTOR health_to 99
  27. end
  28. else
  29. if and
  30. 0256: player $PLAYER_CHAR defined
  31. key_down 49
  32. then
  33. 0223: set_actor $PLAYER_ACTOR health_to 99
  34. end
  35. end
  36. else
  37. if
  38. 00DF: actor $PLAYER_ACTOR driving
  39. then
  40. 1@ = 1
  41. 03C0: 0@ = actor $PLAYER_ACTOR car
  42. 02AC: set_car 0@ immunities BP 1 FP 1 EP 1 CP 1 MP 1
  43. if
  44. 0AFA: is_samp_available
  45. then
  46. if and
  47. 8B21: not samp is_chat_opened
  48. 0256: player $PLAYER_CHAR defined
  49. key_down 49
  50. then
  51. 0224: set_car 0@ health_to 999
  52. if
  53. 0495: car 0@ burning
  54. then
  55. 0A30: repair_car 0@
  56. end
  57. end
  58. else
  59. if and
  60. 0256: player $PLAYER_CHAR defined
  61. key_down 49
  62. then
  63. 0224: set_car 0@ health_to 999
  64. if
  65. 0495: car 0@ burning
  66. then
  67. 0A30: repair_car 0@
  68. end
  69. end
  70. end
  71. end
  72. end
  73. end
  74. end
  75. 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
  76. if 30@ == 0
  77. then
  78. if
  79. 2@ == 1
  80. then
  81. 2@ = 0
  82. 02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
  83. 02A9: set_actor $PLAYER_ACTOR immune_to_nonplayer 0
  84. end
  85. if and
  86. 1@ == 1
  87. 80DF: not actor $PLAYER_ACTOR driving
  88. then
  89. 1@ = 0
  90. 02AC: set_car 0@ immunities BP 0 FP 0 EP 0 CP 0 MP 0
  91. 01C3: remove_references_to_car 0@
  92. end
  93. end
  94. end
  95.  
  96. :1
  97. wait 0
  98. 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
  99. if
  100. 30@ == 1
  101. then
  102. 2@ = 1
  103. return_true
  104. else
  105. return_false
  106. end
  107. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement