// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007 {$VERSION 3.1.0027} {$CLEO .cs} const WIDESCREEN_STATUS = 28@ IS_IN_WIDESCREEN = 29@ IS_IN_CUTSCENE = 27@ end //-------------MAIN--------------- thread 'CARH' wait 1000 :CARH_16 wait 0 0A8D: 30@ = read_memory 11989093 size 1 virtual_protect 0 if and 30@ == 0 Actor.Driving($PLAYER_ACTOR) jf @CARH_286 03C0: 0@ = actor $PLAYER_ACTOR car 1@ = Car.Health(0@) if not 1@ >= 250 jf @CARH_100 1@ = 250 :CARH_100 1@ -= 250 0093: 11@ = integer 1@ to_float if 11@ > 750.0 jf @CARH_147 11@ = 750.0 :CARH_147 1@ = Car.Health(0@) 033F: set_text_draw_letter_size 0.24 0.7 060D: draw_text_shadow 0 color_RGBA 0 0 0 255 0340: set_text_draw_RGBA 255 255 255 255 0342: enable_text_draw_centered 1 1@ -= 250 1@ *= 100 1@ /= 750 19@ = Car.Health(0@) if and not 19@ >= 1000 1@ == 100 jf @CARH_262 1@ = 99 :CARH_262 gosub @CutsceneCheck gosub @WideScreenCheck if and IS_IN_CUTSCENE == FALSE IS_IN_WIDESCREEN == FALSE 816B: not fading then 045A: draw_text_1number 543.0 373.0 GXT '_CARH' number 1@ end :CARH_286 jump @CARH_16 :CutsceneCheck if 06B9: cutscene_data_loaded then if 82E9: not cutscene_reached_end then IS_IN_CUTSCENE = TRUE end else IS_IN_CUTSCENE = FALSE end return :WideScreenCheck 0A8D: WIDESCREEN_STATUS = read_memory 0xB6F065 size 4 virtual_protect 0 if WIDESCREEN_STATUS == 1 then IS_IN_WIDESCREEN = TRUE else IS_IN_WIDESCREEN = FALSE end return