Не могу найти координаты в коде клео скрипта

balthasaries

Известный
Автор темы
5
0
Ну вот код крч
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0662: printstring "MOD NAME: C_HUD"
0662: printstring "BY ANTHONY_MILLER"
0004: $76 = 0
0004: $78 = 0
0004: $79 = 0
0006: 18@ = 0
0000: NOP
0050: gosub @Noname_4308
0050: gosub @Noname_4312
0004: $Marker_Emmets_Gun = 52
0004: $Pickup_Emmets_Colt45 = 93
0004: $STAT_Lung_Capacity = 0

:Noname_105
0001: wait 0 ms
0050: gosub @Noname_254
0050: gosub @Noname_309
0050: gosub @Noname_371
00D6: if or
0038: $76 == 1
0038: $78 == 1
0038: $79 == 1
004D: jump_if_false @Noname_173
03F0: enable_text_draw 0
0002: jump @Noname_247

:Noname_173
03F0: enable_text_draw 1
0050: gosub @Noname_420
0050: gosub @Noname_791
0050: gosub @Noname_1161
0050: gosub @Noname_1412
0050: gosub @Noname_2139
0050: gosub @Noname_4070
0050: gosub @Noname_3167
0050: gosub @Noname_3233
0050: gosub @Noname_3738
0050: gosub @Noname_2546

:Noname_247
0002: jump @Noname_105

:Noname_254
0A8D: $36 = read_memory 11989093 size 4 virtual_protect 0
00D6: if
0038: $36 == 1
004D: jump_if_false @Noname_300
0004: $76 = 1
0002: jump @Noname_307

:Noname_300
0004: $76 = 0

:Noname_307
0051: return

:Noname_309
0A8D: $77 = read_memory 9873356 size 4 virtual_protect 0
00D6: if or
0038: $77 == 1
0038: $77 == 2
004D: jump_if_false @Noname_362
0004: $78 = 1
0002: jump @Noname_369

:Noname_362
0004: $78 = 0

:Noname_369
0051: return

:Noname_371
00D6: if
06B9: cutscene_data_loaded
004D: jump_if_false @Noname_411
00D6: if
82E9: not cutscene_reached_end
004D: jump_if_false @Noname_404
0004: $79 = 1

:Noname_404
0002: jump @Noname_418

:Noname_411
0004: $79 = 0

:Noname_418
0051: return

:Noname_420
0050: gosub @Noname_482
00D6: if
0019: 7@ > 0
004D: jump_if_false @Noname_480
0050: gosub @Noname_492
0050: gosub @Noname_511
0050: gosub @Noname_2756
0050: gosub @Noname_612
0050: gosub @Noname_687

:Noname_480
0051: return

:Noname_482
0226: 7@ = actor $PLAYER_ACTOR health
0051: return

:Noname_492
0653: 8@ = float_stat 24
0017: 8@ /= 5.69
0051: return

:Noname_511
008D: 7@ = integer 7@ to_float
0007: 1@ = 548.0
0007: 2@ = 106.0
00D6: if
0025: 8@ > 7@ // (float)
004D: jump_if_false @Noname_610
0007: 1@ = 608.0
0073: 8@ /= 7@ // (float)
0073: 2@ /= 8@ // (float)
0087: 7@ = 2@ // (float)
0017: 7@ /= 2.0
0063: 1@ -= 7@ // (float)

:Noname_610
0051: return

:Noname_612
0004: $Custom_Tournament_Flag = 0
00D6: if or
001D: $120 > $Custom_Tournament_Flag // (int)
0AB0: key_pressed 121
004D: jump_if_false @Noname_651
0051: return
0002: jump @Noname_687

:Noname_651
03E3: set_texture_to_be_drawn_antialiased 1
038E: draw_box_position 1@ 99999.0 size 2@ 7.0 RGBA 255 255 255 255
0051: return

:Noname_687
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_711
0051: return
0002: jump @Noname_791

:Noname_711
0226: 26@ = actor $PLAYER_ACTOR health
0016: 26@ /= 1
033F: set_text_draw_letter_size 0.4 1.1
081C: draw_text_outline 1 RGBA 0 0 0 255
0340: set_text_draw_RGBA 255 255 255 255
045A: draw_text_1number 548.0 65.0 GXT 'NUMBER' number 26@ // ~1~
0051: return

:Noname_791
0050: gosub @Noname_853
00D6: if
0019: 9@ > 0
004D: jump_if_false @Noname_851
0050: gosub @Noname_863
0050: gosub @Noname_881
0050: gosub @Noname_2819
0050: gosub @Noname_982
0050: gosub @Noname_1057

:Noname_851
0051: return

:Noname_853
04DD: 9@ = actor $PLAYER_ACTOR armour
0051: return

:Noname_863
0945: get_player $PLAYER_CHAR max_armour_to 10@
008D: 10@ = integer 10@ to_float
0051: return

:Noname_881
008D: 9@ = integer 9@ to_float
0007: 3@ = 548.0
0007: 4@ = 106.0
00D6: if
0025: 10@ > 9@ // (float)
004D: jump_if_false @Noname_980
0007: 3@ = 608.0
0073: 10@ /= 9@ // (float)
0073: 4@ /= 10@ // (float)
0087: 9@ = 4@ // (float)
0017: 9@ /= 2.0
0063: 3@ -= 9@ // (float)

:Noname_980
0051: return

:Noname_982
0004: $Custom_Tournament_Flag = 0
00D6: if or
001D: $LSGym_Icon > $Custom_Tournament_Flag // (int)
0AB0: key_pressed 121
004D: jump_if_false @Noname_1021
0051: return
0002: jump @Noname_1057

:Noname_1021
03E3: set_texture_to_be_drawn_antialiased 1
038E: draw_box_position 3@ 99999.0 size 4@ 7.0 RGBA 171 171 171 190
0051: return

:Noname_1057
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_1081
0051: return
0002: jump @Noname_1161

:Noname_1081
04DD: 26@ = actor $PLAYER_ACTOR armour
0016: 26@ /= 1
033F: set_text_draw_letter_size 0.4 1.1
081C: draw_text_outline 1 RGBA 0 0 0 255
0340: set_text_draw_RGBA 171 171 171 255
045A: draw_text_1number 566.0 51.0 GXT 'NUMBER' number 26@ // ~1~
0051: return

:Noname_1161
0050: gosub @Noname_1221
00D6: if and
0019: 11@ > 0
0965: actor $PLAYER_ACTOR swimming
004D: jump_if_false @Noname_1219
0050: gosub @Noname_1229
0050: gosub @Noname_1259
0050: gosub @Noname_2882
0050: gosub @Noname_1352

:Noname_1219
0051: return

:Noname_1221
0652: 11@ = integer_stat 4080

:Noname_1229
0653: 12@ = float_stat 225
0013: 12@ *= 1.5
000B: 12@ += 1150.0
0051: return

:Noname_1259
0007: 5@ = 548.0
0007: 6@ = 106.0
00D6: if
0025: 12@ > 11@ // (float)
004D: jump_if_false @Noname_1350
0007: 5@ = 608.0
0073: 12@ /= 11@ // (float)
0073: 6@ /= 12@ // (float)
0087: 11@ = 6@ // (float)
0017: 11@ /= 2.0
0063: 5@ -= 11@ // (float)

:Noname_1350
0051: return

:Noname_1352
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_1376
0051: return
0002: jump @Noname_1412

:Noname_1376
03E3: set_texture_to_be_drawn_antialiased 1
038E: draw_box_position 5@ 99999.0 size 6@ 7.0 RGBA 255 255 255 255
0051: return

:Noname_1412
0050: gosub @Noname_2086
0050: gosub @Noname_1639
0050: gosub @Noname_1780
0050: gosub @Noname_1940
0050: gosub @Noname_2044
0050: gosub @Noname_1456
0051: return

:Noname_1456
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_1480
0051: return
0002: jump @Noname_1489

:Noname_1480
0050: gosub @Noname_1489
0051: return

:Noname_1489
000A: 13@ += 1
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 13@ position 99999.0 33.0 size 55.0 55.0 RGBA 255 255 255 255
00D6: if
0039: 18@ == 1
004D: jump_if_false @Noname_1637
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 19@ position 99999.0 33.0 size 40.0 40.0 RGBA 150 150 150 150
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 20@ position 99999.0 33.0 size 40.0 40.0 RGBA 150 150 150 150

:Noname_1637
0051: return

:Noname_1639
00D6: if
0039: 21@ == 0
004D: jump_if_false @Noname_1671
0050: gosub @Noname_2109
000A: 15@ += 1

:Noname_1671
000E: 15@ -= 1
00D6: if
8019: not 15@ > 0
004D: jump_if_false @Noname_1703
0006: 15@ = 13

:Noname_1703
0050: gosub @Noname_1921
00D6: if or
0039: 15@ == 1
8039: not 24@ == -1
004D: jump_if_false @Noname_1764
0085: 19@ = 23@ // (int)
000A: 19@ += 1
0006: 21@ = 0
0002: jump @Noname_1778

:Noname_1764
0006: 21@ = 1
0002: jump @Noname_1639

:Noname_1778
0051: return

:Noname_1780
00D6: if
0039: 22@ == 0
004D: jump_if_false @Noname_1812
0050: gosub @Noname_2109
000A: 15@ += 1

:Noname_1812
000A: 15@ += 1
00D6: if
0019: 15@ > 13
004D: jump_if_false @Noname_1844
0006: 15@ = 1

:Noname_1844
0050: gosub @Noname_1921
00D6: if or
0039: 15@ == 1
8039: not 24@ == -1
004D: jump_if_false @Noname_1905
0085: 20@ = 23@ // (int)
000A: 20@ += 1
0006: 22@ = 0
0002: jump @Noname_1919

:Noname_1905
0006: 22@ = 1
0002: jump @Noname_1780

:Noname_1919
0051: return

:Noname_1921
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 15@ weapon 23@ ammo 14@ model 24@
0051: return

:Noname_1940
0050: gosub @Noname_2086
0085: 0@ = 13@ // (int)
0012: 0@ *= 112
000A: 0@ += 13150904
000A: 0@ += 32
0A8D: 30@ = read_memory 0@ size 4 virtual_protect 0
00D6: if
0019: 30@ > 0
004D: jump_if_false @Noname_2042
0050: gosub @Noname_2096
00D6: if
0039: 14@ == 0
004D: jump_if_false @Noname_2042
0555: remove_weapon 13@ from_actor $PLAYER_ACTOR

:Noname_2042
0051: return

:Noname_2044
00D6: if
803B: not 13@ == 23@ // (int)
004D: jump_if_false @Noname_2077
0006: 18@ = 1
0002: jump @Noname_2084

:Noname_2077
0006: 18@ = 0

:Noname_2084
0051: return

:Noname_2086
0470: 13@ = actor $PLAYER_ACTOR current_weapon
0051: return

:Noname_2096
041A: 14@ = actor $PLAYER_ACTOR weapon 13@ ammo
0051: return

:Noname_2109
0A96: 0@ = actor $PLAYER_ACTOR struct
000A: 0@ += 1816
0A8D: 15@ = read_memory 0@ size 1 virtual_protect 0
0051: return

:Noname_2139
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_2163
0051: return
0002: jump @Noname_2179

:Noname_2163
0050: gosub @Noname_2179
0050: gosub @Noname_2189
0051: return

:Noname_2179
01C0: 25@ = player $PLAYER_CHAR wanted_level
0051: return

:Noname_2189
00D6: if
0019: 25@ > 0
004D: jump_if_false @Noname_2254
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 48 position 99999.0 99999.0 size 25.0 25.0 RGBA 250 250 210 220
0050: gosub @Noname_2945

:Noname_2254
00D6: if
0019: 25@ > 1
004D: jump_if_false @Noname_2312
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 48 position 99999.0 99999.0 size 25.0 25.0 RGBA 250 250 210 220

:Noname_2312
00D6: if
0019: 25@ > 2
004D: jump_if_false @Noname_2370
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 48 position 99999.0 99999.0 size 25.0 25.0 RGBA 250 250 210 220

:Noname_2370
00D6: if
0019: 25@ > 3
004D: jump_if_false @Noname_2428
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 48 position 99999.0 99999.0 size 25.0 25.0 RGBA 250 250 210 220

:Noname_2428
00D6: if
0019: 25@ > 4
004D: jump_if_false @Noname_2486
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 48 position 99999.0 99999.0 size 25.0 25.0 RGBA 250 250 210 220

:Noname_2486
00D6: if
0019: 25@ > 5
004D: jump_if_false @Noname_2544
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 48 position 99999.0 99999.0 size 25.0 25.0 RGBA 250 250 210 220

:Noname_2544
0051: return

:Noname_2546
00D6: if
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false @Noname_2658
03C0: 31@ = actor $PLAYER_ACTOR car
0441: 0@ = car 31@ model
000E: 0@ -= 400
0012: 0@ *= 776
000A: 0@ += 11662928
000A: 0@ += 54
0A8D: $5 = read_memory 0@ size 4 virtual_protect 0
000A: 0@ += 4
0A8D: $30 = read_memory 0@ size 3 virtual_protect 0
0AB1: call_scm_func @Noname_2660 2 $5 $30

:Noname_2658
0051: return

:Noname_2660
0050: gosub @Noname_2672
0AB2: ret 0

:Noname_2672
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_2696
0051: return
0002: jump @Noname_2756

:Noname_2696
03E0: draw_text_behind_textures 1
033F: set_text_draw_letter_size 0.5 1.6
081C: draw_text_outline 2 RGBA 0 0 0 200
0340: set_text_draw_RGBA 255 255 255 255
033E: set_draw_text_position 99999.0 99999.0 GXT 0@s
0051: return

:Noname_2756
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_2780
0051: return
0002: jump @Noname_2819

:Noname_2780
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 49 position 99999.0 99999.0 size 108.0 9.0 RGBA 0 0 0 255
0051: return

:Noname_2819
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_2843
0051: return
0002: jump @Noname_2882

:Noname_2843
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 49 position 99999.0 99999.0 size 108.0 9.0 RGBA 0 0 0 255
0051: return

:Noname_2882
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_2906
0051: return
0002: jump @Noname_2945

:Noname_2906
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 49 position 99999.0 99999.0 size 108.0 9.0 RGBA 0 0 0 255
0051: return

:Noname_2945
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_2969
0051: return
0002: jump @Noname_3167

:Noname_2969
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 50 position 99999.0 99999.0 size 25.0 25.0 RGBA 0 0 0 60
038D: draw_texture 50 position 99999.0 99999.0 size 25.0 25.0 RGBA 0 0 0 60
038D: draw_texture 50 position 99999.0 99999.0 size 25.0 25.0 RGBA 0 0 0 60
038D: draw_texture 50 position 99999.0 99999.0 size 25.0 25.0 RGBA 0 0 0 60
038D: draw_texture 50 position 99999.0 99999.0 size 25.0 25.0 RGBA 0 0 0 60
038D: draw_texture 50 position 99999.0 99999.0 size 25.0 25.0 RGBA 0 0 0 60
0051: return

:Noname_3167
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_3191
0051: return
0002: jump @Noname_3233

:Noname_3191
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 51 position 99999,2.0 99999,5.0 size 137.0 113.0 RGBA 255 255 255 255
0051: return

:Noname_3233
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_3257
0051: return
0002: jump @Noname_3266

:Noname_3257
0050: gosub @Noname_3266
0051: return

:Noname_3266
0050: gosub @Noname_2086
00D6: if and
0019: 13@ > 21
8039: not 13@ == 34
8039: not 13@ == 35
8039: not 13@ == 36
8039: not 13@ == 39
8039: not 13@ == 40
8019: not 13@ > 43
004D: jump_if_false @Noname_3347
0050: gosub @Noname_3351
0002: jump @Noname_3349

:Noname_3347
0051: return

:Noname_3349
0051: return

:Noname_3351
00D6: if or
00DF: actor $PLAYER_ACTOR driving
0965: actor $PLAYER_ACTOR swimming
004D: jump_if_false @Noname_3381
0051: return
0002: jump @Noname_3388

:Noname_3381
0050: gosub @Noname_3390

:Noname_3388
0051: return

:Noname_3390
00D6: if and
0AB0: key_pressed 2
0AB0: key_pressed 49
8818: not actor $PLAYER_ACTOR in_air
004D: jump_if_false @Noname_3503
0004: $Marker_Emmets_Gun = 52
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture $Marker_Emmets_Gun position 99999,1.0 99999,1.0 size 29.0 29.0 RGBA 0 0 0 255
038D: draw_texture 53 position 99999,1.0 99999,1.0 size 25.0 25.0 RGBA 255 255 0 255
0051: return
0002: jump @Noname_3512

:Noname_3503
0050: gosub @Noname_3512
0051: return

:Noname_3512
00D6: if and
0AB0: key_pressed 2
0AB0: key_pressed 50
8818: not actor $PLAYER_ACTOR in_air
004D: jump_if_false @Noname_3628
0004: $Marker_Emmets_Gun = 90
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture $Marker_Emmets_Gun position 99999,1.0 99999,1.0 size 29.0 29.0 RGBA 255 255 255 255
038D: draw_texture 53 position 99999,1.0 99999,1.0 size 25.0 25.0 RGBA 255 255 0 255
0051: return
0002: jump @Noname_3635

:Noname_3628
0050: gosub @Noname_3635

:Noname_3635
00D6: if
8818: not actor $PLAYER_ACTOR in_air
004D: jump_if_false @Noname_3736
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture $Marker_Emmets_Gun position 99999,1.0 99999,1.0 size 29.0 29.0 RGBA 255 255 255 255
038D: draw_texture 53 position 99999,1.0 99999,1.0 size 25.0 25.0 RGBA 255 255 0 255
0051: return
0002: jump @Noname_3738

:Noname_3736
0051: return

:Noname_3738
0050: gosub @Noname_2086
00D6: if
0039: 13@ == 34
004D: jump_if_false @Noname_3777
0050: gosub @Noname_3781
0002: jump @Noname_3779

:Noname_3777
0051: return

:Noname_3779
0051: return

:Noname_3781
00D6: if or
00DF: actor $PLAYER_ACTOR driving
0965: actor $PLAYER_ACTOR swimming
004D: jump_if_false @Noname_3811
0051: return
0002: jump @Noname_3818

:Noname_3811
0050: gosub @Noname_3818

:Noname_3818
00D6: if and
0AB0: key_pressed 2
0AB0: key_pressed 49
8818: not actor $PLAYER_ACTOR in_air
004D: jump_if_false @Noname_3899
0004: $Pickup_Emmets_Colt45 = 93
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture $Pickup_Emmets_Colt45 position 99999,6.0 99999.0 size 650.0 455,47.0 RGBA 255 255 255 255
0051: return
0002: jump @Noname_3908

:Noname_3899
0050: gosub @Noname_3908
0051: return

:Noname_3908
00D6: if and
0AB0: key_pressed 2
0AB0: key_pressed 50
8818: not actor $PLAYER_ACTOR in_air
004D: jump_if_false @Noname_3989
0004: $Pickup_Emmets_Colt45 = 94
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture $Pickup_Emmets_Colt45 position 99999,6.0 99999.0 size 650.0 455,47.0 RGBA 255 255 255 255
0051: return
0002: jump @Noname_3998

:Noname_3989
0050: gosub @Noname_3998
0051: return

:Noname_3998
00D6: if and
8818: not actor $PLAYER_ACTOR in_air
0AB0: key_pressed 2
004D: jump_if_false @Noname_4068
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture $Pickup_Emmets_Colt45 position 99999,6.0 99999.0 size 650.0 455,47.0 RGBA 255 255 255 255
0051: return
0002: jump @Noname_4070

:Noname_4068
0051: return

:Noname_4070
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Noname_4094
0051: return
0002: jump @Noname_4103

:Noname_4094
0050: gosub @Noname_4103
0051: return

:Noname_4103
00BF: 27@ = current_time_hours, 28@ = current_time_minutes
00D6: if
001B: 10 > 28@
004D: jump_if_false @Noname_4143
0050: gosub @Noname_4152
0002: jump @Noname_4150

:Noname_4143
0050: gosub @Noname_4228

:Noname_4150
0051: return

:Noname_4152
03E0: draw_text_behind_textures 1
033F: set_text_draw_letter_size 0,45.0 1,3.0
03E4: set_text_draw_align_right 1
081C: draw_text_outline 1 RGBA 0 0 0 200
0340: set_text_draw_RGBA 255 255 255 220
045B: draw_text_2numbers 999999.0 99999.0 GXT 'TIME_0' numbers 27@ 28@ // ~1~:0~1~
0051: return

:Noname_4228
03E0: draw_text_behind_textures 1
033F: set_text_draw_letter_size 0,45.0 1,3.0
03E4: set_text_draw_align_right 1
081C: draw_text_outline 1 RGBA 0 0 0 200
0340: set_text_draw_RGBA 255 255 255 240
045B: draw_text_2numbers 9999.0 99999.0 GXT 'TIME' numbers 27@ 28@ // ~1~:~1~
0051: return
00D6: if

:Noname_4308
0391: release_textures
0051: return

:Noname_4312
09BA: show_entered_zone_name 0
09B9: show_entered_car_name 0
0051: return