Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO}
- 0000: NOP
- while true
- wait 0
- if gosub @0
- then
- if and
- 00DF: actor $PLAYER_ACTOR driving
- key_down 70
- then
- 0@ = 1
- 03C0: 1@ = actor $PLAYER_ACTOR car
- 0574: set_car 1@ keep_position 1
- 0633: AS_actor $PLAYER_ACTOR exit_car
- while 844B: not actor $PLAYER_ACTOR on_foot
- wait 0
- 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
- if
- 30@ == 1
- then
- break
- end
- end
- 0574: set_car 1@ keep_position 0
- end
- if
- 0@ == 1
- then
- 0@ = 0
- 01C3: remove_references_to_car 1@
- end
- end
- end
- :0
- wait 0
- 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
- if
- 30@ == 1
- then
- return_true
- else
- return_false
- end
- return
- :1
- wait 0
- if or
- 844B: not actor $PLAYER_ACTOR on_foot
- 0449: actor $PLAYER_ACTOR in_a_car
- 00DF: actor $PLAYER_ACTOR driving
- then
- return_true
- else
- return_false
- end
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement