Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO}
- 0000:
- //0A8C: write_memory 0x859F80 size 4 value 100.0 virtual_protect 1
- {0AB1: call_scm_func @__VarToOffset 1 varnumber 15 result 20@
- 15@ = 100.0
- 0A8C: write_memory 0x6A70C0 size 4 value 20@ virtual_protect 0 }
- 0A8C: write_memory 0x6A70C0 size 4 value 0x00858628 virtual_protect 1
- 0A8C: write_memory 0x570E14 size 2 value 0x1DEB virtual_protect 1
- while true
- wait 0
- var
- 0@: int
- 30@: int
- end
- if
- 00DF: actor $PLAYER_ACTOR driving
- then
- 0811: 0@ = actor $PLAYER_ACTOR car
- 0227: 4@ = car 0@ health
- //bonus
- if and
- 84A7: not actor $PLAYER_ACTOR driving_boat
- 89AE: not actor $PLAYER_ACTOR driving_train
- 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
- 30@ <> 0@
- 056E: car 0@ defined
- then
- 0209: 17@ = random_int_in_ranges 0 3
- //17@ = 2
- if
- 17@ == 2
- then
- 09E9: car 0@ add_single_nitro
- end
- end
- 30@ = 0@
- if
- 4@ <= 249
- then
- if and
- 84A7: not actor $PLAYER_ACTOR driving_boat
- 89AE: not actor $PLAYER_ACTOR driving_train
- 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
- then
- 02D4: car 0@ turn_off_engine
- //10@ = true
- end
- if or
- 04A7: actor $PLAYER_ACTOR driving_boat
- 09AE: actor $PLAYER_ACTOR driving_train
- 04C8: actor $PLAYER_ACTOR driving_flying_vehicle
- then
- 0A8C: write_memory 0x6A70C0 size 4 value 0x00859F80 virtual_protect 1
- //15@ = 250.0
- else
- 0A8C: write_memory 0x6A70C0 size 4 value 0x00858628 virtual_protect 1
- //15@ = 100.0
- end
- end
- end
- if //and
- //10@ == true
- 056E: car 0@ defined
- then
- if
- 01F4: car 0@ flipped
- then
- 03ED: set_car 0@ disable_flipped_explosion_when_empty true
- //10@ = false
- end
- end
- //03F0: enable_text_draw 1
- //045B: draw_text_2numbers 320.0 390.0 GXT 'msefct' numbers 0 4@
- end
- 0A93: end_custom_thread
- :__VarToOffset
- 0A9F: 23@ = current_thread_pointer
- 23@ += 0x3C
- 0@ *= 4
- 005A: 23@ += 0@ // address of the local variable
- 0AB2: ret 1 23@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement