Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO}
- 0000:
- while true
- wait 0
- if gosub @1
- then
- if
- 0256: player $PLAYER_CHAR defined
- then
- if
- 044B: actor $PLAYER_ACTOR on_foot
- then
- 02AB: set_actor $PLAYER_ACTOR immunities BP 1 FP 1 EP 1 CP 1 MP 1
- 02A9: set_actor $PLAYER_ACTOR immune_to_nonplayer 1
- 04D8: set_actor $PLAYER_ACTOR drowns_in_water 0
- if
- 0AFA: is_samp_available
- then
- if and
- 8B21: not samp is_chat_opened
- 0256: player $PLAYER_CHAR defined
- key_down 49
- then
- 0223: set_actor $PLAYER_ACTOR health_to 99
- end
- else
- if and
- 0256: player $PLAYER_CHAR defined
- key_down 49
- then
- 0223: set_actor $PLAYER_ACTOR health_to 99
- end
- end
- else
- if
- 00DF: actor $PLAYER_ACTOR driving
- then
- 1@ = 1
- 03C0: 0@ = actor $PLAYER_ACTOR car
- 02AC: set_car 0@ immunities BP 1 FP 1 EP 1 CP 1 MP 1
- if
- 0AFA: is_samp_available
- then
- if and
- 8B21: not samp is_chat_opened
- 0256: player $PLAYER_CHAR defined
- key_down 49
- then
- 0224: set_car 0@ health_to 999
- if
- 0495: car 0@ burning
- then
- 0A30: repair_car 0@
- end
- end
- else
- if and
- 0256: player $PLAYER_CHAR defined
- key_down 49
- then
- 0224: set_car 0@ health_to 999
- if
- 0495: car 0@ burning
- then
- 0A30: repair_car 0@
- end
- end
- end
- end
- end
- end
- end
- 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
- if 30@ == 0
- then
- if
- 2@ == 1
- then
- 2@ = 0
- 02AB: set_actor $PLAYER_ACTOR immunities BP 0 FP 0 EP 0 CP 0 MP 0
- 02A9: set_actor $PLAYER_ACTOR immune_to_nonplayer 0
- end
- if and
- 1@ == 1
- 80DF: not actor $PLAYER_ACTOR driving
- then
- 1@ = 0
- 02AC: set_car 0@ immunities BP 0 FP 0 EP 0 CP 0 MP 0
- 01C3: remove_references_to_car 0@
- end
- end
- end
- :1
- wait 0
- 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
- if
- 30@ == 1
- then
- 2@ = 1
- return_true
- else
- return_false
- end
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement