// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread 'kmf_dmg'
03F0: enable_text_draw 1
wait 2000
call @KMF_DMG_1962 0
:KMF_DMG_56
wait 1000
if and
Player.Defined($PLAYER_CHAR)
02CB: actor $PLAYER_ACTOR bounding_sphere_visible
else_jump @KMF_DMG_56
gosub @KMF_DMG_96
jump @KMF_DMG_161
:KMF_DMG_96
3@ = 0
4@ = 0
2@ = 0
5@ = 0
19@ = 0
6@ = 0
12@ = 0
24@ = -1
1@ = 0
return
:KMF_DMG_161
wait 0
:KMF_DMG_165
wait 0
gosub @KMF_DMG_204
gosub @KMF_DMG_327
gosub @KMF_DMG_392
gosub @KMF_DMG_1049
jump @KMF_DMG_165
:KMF_DMG_204
16@ = Actor.Health($PLAYER_ACTOR)
04DD: 29@ = actor $PLAYER_ACTOR armour
005A: 16@ += 29@ // (int)
0085: 4@ = 2@ // (int)
0062: 4@ -= 16@ // (int)
if and
001D: 2@ > 16@ // (int)
4@ > 1
else_jump @KMF_DMG_310
005A: 3@ += 4@ // (int)
5@ += 1
6@ = 1
7@ = 250
8@ = 203.0
:KMF_DMG_310
0085: 2@ = 16@ // (int)
4@ = 0
return
:KMF_DMG_327
if
02E0: actor $PLAYER_ACTOR firing_weapon
else_jump @KMF_DMG_357
1@ = 1
33@ = 0
:KMF_DMG_357
if
33@ > 1000
else_jump @KMF_DMG_390
1@ = 0
26@ = 1
:KMF_DMG_390
return
:KMF_DMG_392
9@ = Actor.Health($PLAYER_ACTOR)
if
9@ > 0
else_jump @KMF_DMG_668
if
0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET
else_jump @KMF_DMG_450
call @KMF_DMG_2288 1 22@
:KMF_DMG_450
if and
1@ == 1
0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET
else_jump @KMF_DMG_661
call @KMF_DMG_1498 0 23@ 17@ 28@
005A: 17@ += 28@ // (int)
if
803B: not 23@ == 24@ // (int)
else_jump @KMF_DMG_545
0085: 18@ = 17@ // (int)
0085: 24@ = 23@ // (int)
26@ = 1
:KMF_DMG_545
0085: 21@ = 18@ // (int)
0062: 21@ -= 17@ // (int)
if
21@ > 2
else_jump @KMF_DMG_646
if
26@ == 1
else_jump @KMF_DMG_618
20@ = 0
19@ = 0
26@ = 0
:KMF_DMG_618
gosub @KMF_DMG_670
gosub @KMF_DMG_772
gosub @KMF_DMG_867
gosub @KMF_DMG_962
:KMF_DMG_646
0085: 18@ = 17@ // (int)
jump @KMF_DMG_668
:KMF_DMG_661
24@ = -1
:KMF_DMG_668
return
:KMF_DMG_670
if or
02D8: actor $PLAYER_ACTOR current_weapon == 30
02D8: actor $PLAYER_ACTOR current_weapon == 31
else_jump @KMF_DMG_770
if
21@ == 7
else_jump @KMF_DMG_720
21@ += 3
:KMF_DMG_720
if
21@ == 14
else_jump @KMF_DMG_745
21@ -= 4
:KMF_DMG_745
if
21@ == 16
else_jump @KMF_DMG_770
21@ -= 6
:KMF_DMG_770
return
:KMF_DMG_772
if
02D8: actor $PLAYER_ACTOR current_weapon == 24
else_jump @KMF_DMG_865
if
21@ == 49
else_jump @KMF_DMG_815
21@ -= 3
:KMF_DMG_815
if
21@ == 42
else_jump @KMF_DMG_840
21@ += 4
:KMF_DMG_840
if
21@ == 51
else_jump @KMF_DMG_865
21@ -= 5
:KMF_DMG_865
return
:KMF_DMG_867
if
02D8: actor $PLAYER_ACTOR current_weapon == 33
else_jump @KMF_DMG_960
if
21@ == 21
else_jump @KMF_DMG_910
21@ += 4
:KMF_DMG_910
if
21@ == 28
else_jump @KMF_DMG_935
21@ -= 3
:KMF_DMG_935
if
21@ == 30
else_jump @KMF_DMG_960
21@ -= 5
:KMF_DMG_960
return
:KMF_DMG_962
005A: 20@ += 21@ // (int)
19@ += 1
12@ = 1
13@ = 250
14@ = 203.0
if
03D0: wav 1 loaded
else_jump @KMF_DMG_1021
040D: unload_wav 1
:KMF_DMG_1021
03CF: load_wav 17802 as 1
:KMF_DMG_1028
wait 0
03D0: wav 1 loaded
else_jump @KMF_DMG_1028
03D1: play_wav 1
return
:KMF_DMG_1049
if
6@ == 1
else_jump @KMF_DMG_1272
8@ -= 0.3
7@ -= 2
alloc 0@ 96
format 0@ "-%d HP (x%d)" 3@ 5@
0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED151' 30@
0AA5: call 7439872 num_params 2 pop 2 30@ 0@
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
033F: set_text_draw_letter_size 0.29 0.85
081C: draw_text_outline 1 RGBA 0 0 0 7@
0340: set_text_draw_RGBA 255 0 0 7@
033E: set_draw_text_position 410.0 8@ GXT 'CRED151' // KNM FAPHN
free 0@
if
7@ == 0
else_jump @KMF_DMG_1272
3@ = 0
6@ = 0
5@ = 0
:KMF_DMG_1272
if
12@ == 1
else_jump @KMF_DMG_1496
14@ -= 0.3
13@ -= 2
alloc 0@ 1024
03F0: enable_text_draw 1
format 0@ "+%d HP (x%d)" 20@ 19@
0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED153' 31@
0AA5: call 7439872 num_params 2 pop 2 31@ 0@
0342: set_text_draw_centered 1
033F: set_text_draw_letter_size 0.29 0.85
081C: draw_text_outline 1 RGBA 0 0 0 13@
0340: set_text_draw_RGBA 0 255 0 13@
033E: set_draw_text_position 232.0 14@ GXT 'CRED153' // 4APLNH M3FNP
free 0@
if
13@ == 0
else_jump @KMF_DMG_1496
12@ = 0
24@ = -1
26@ = 1
:KMF_DMG_1496
return
:KMF_DMG_1498
call @KMF_DMG_1806 0 1@
1@ += 353
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0
call @KMF_DMG_1635 1 2@ 3@
3@ += 0
0A8D: 4@ = read_memory 3@ size 4 virtual_protect 0
4@ += 444
0A8D: 5@ = read_memory 4@ size 4 virtual_protect 0
4@ += 4
0A8D: 6@ = read_memory 4@ size 4 virtual_protect 0
0092: 10@ = float 5@ to_integer
0092: 11@ = float 6@ to_integer
ret 3 2@ 10@ 11@
:KMF_DMG_1635
0AA2: 1@ = load_library "kernel32.dll" // IF and SET
0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET
0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@
3@ += 2203896
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 973
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 24
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 46
0@ *= 4
005A: 3@ += 0@ // (int)
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
ret 1 3@
:KMF_DMG_1806
0AA2: 1@ = load_library "kernel32.dll" // IF and SET
0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET
0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@
3@ += 2203896
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 973
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 24
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 34
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
ret 1 3@
:KMF_DMG_1962
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "KMF - Damage Informer - {00FAFF}0.3.7" 8
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Original mod - {00FAFF}Kewl & Rasta" 8
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Updated to 0.3.7/NO SAMPFUNCS - {00FAFF}RENKO & Rasta" 8
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Modifed - {00FAFF}Dark_Knight" 8
ret 0
:KMF_DMG_2288
call @KMF_DMG_2731 1 0@ 1@
0470: 2@ = actor $PLAYER_ACTOR current_weapon
if or
2@ == 22
2@ == 23
2@ == 24
2@ == 26
2@ == 28
2@ == 32
else_jump @KMF_DMG_2420
if
1@ > 35.0
else_jump @KMF_DMG_2407
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2420
:KMF_DMG_2407
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2420
if or
2@ == 25
2@ == 27
else_jump @KMF_DMG_2500
if
1@ > 40.0
else_jump @KMF_DMG_2487
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2500
:KMF_DMG_2487
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2500
if
2@ == 29
else_jump @KMF_DMG_2573
if
1@ > 45.0
else_jump @KMF_DMG_2560
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2573
:KMF_DMG_2560
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2573
if or
2@ == 30
2@ == 31
else_jump @KMF_DMG_2653
if
1@ > 50.0
else_jump @KMF_DMG_2640
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2653
:KMF_DMG_2640
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2653
if
2@ == 33
else_jump @KMF_DMG_2726
if
1@ > 60.0
else_jump @KMF_DMG_2713
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2726
:KMF_DMG_2713
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2726
ret 0
:KMF_DMG_2731
Actor.StorePos(0@, 1@, 2@, 3@)
Actor.StorePos($PLAYER_ACTOR, 4@, 5@, 6@)
0509: 7@ = distance_between_XY 1@ 2@ and_XY 4@ 5@
ret 1 7@
Thank you for your guide I really appreciate this but for some reasons once the SAMP menu's about to load the game crashes any idea why?CLEO:// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- thread 'kmf_dmg' 03F0: enable_text_draw 1 wait 2000 call @KMF_DMG_1962 0 :KMF_DMG_56 wait 1000 if and Player.Defined($PLAYER_CHAR) 02CB: actor $PLAYER_ACTOR bounding_sphere_visible else_jump @KMF_DMG_56 gosub @KMF_DMG_96 jump @KMF_DMG_161 :KMF_DMG_96 3@ = 0 4@ = 0 2@ = 0 5@ = 0 19@ = 0 6@ = 0 12@ = 0 24@ = -1 1@ = 0 return :KMF_DMG_161 wait 0 :KMF_DMG_165 wait 0 gosub @KMF_DMG_204 gosub @KMF_DMG_327 gosub @KMF_DMG_392 gosub @KMF_DMG_1049 jump @KMF_DMG_165 :KMF_DMG_204 16@ = Actor.Health($PLAYER_ACTOR) 04DD: 29@ = actor $PLAYER_ACTOR armour 005A: 16@ += 29@ // (int) 0085: 4@ = 2@ // (int) 0062: 4@ -= 16@ // (int) if and 001D: 2@ > 16@ // (int) 4@ > 1 else_jump @KMF_DMG_310 005A: 3@ += 4@ // (int) 5@ += 1 6@ = 1 7@ = 250 8@ = 203.0 :KMF_DMG_310 0085: 2@ = 16@ // (int) 4@ = 0 return :KMF_DMG_327 if 02E0: actor $PLAYER_ACTOR firing_weapon else_jump @KMF_DMG_357 1@ = 1 33@ = 0 :KMF_DMG_357 if 33@ > 1000 else_jump @KMF_DMG_390 1@ = 0 26@ = 1 :KMF_DMG_390 return :KMF_DMG_392 9@ = Actor.Health($PLAYER_ACTOR) if 9@ > 0 else_jump @KMF_DMG_668 if 0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET else_jump @KMF_DMG_450 call @KMF_DMG_2288 1 22@ :KMF_DMG_450 if and 1@ == 1 0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET else_jump @KMF_DMG_661 call @KMF_DMG_1498 0 23@ 17@ 28@ 005A: 17@ += 28@ // (int) if 803B: not 23@ == 24@ // (int) else_jump @KMF_DMG_545 0085: 18@ = 17@ // (int) 0085: 24@ = 23@ // (int) 26@ = 1 :KMF_DMG_545 0085: 21@ = 18@ // (int) 0062: 21@ -= 17@ // (int) if 21@ > 2 else_jump @KMF_DMG_646 if 26@ == 1 else_jump @KMF_DMG_618 20@ = 0 19@ = 0 26@ = 0 :KMF_DMG_618 gosub @KMF_DMG_670 gosub @KMF_DMG_772 gosub @KMF_DMG_867 gosub @KMF_DMG_962 :KMF_DMG_646 0085: 18@ = 17@ // (int) jump @KMF_DMG_668 :KMF_DMG_661 24@ = -1 :KMF_DMG_668 return :KMF_DMG_670 if or 02D8: actor $PLAYER_ACTOR current_weapon == 30 02D8: actor $PLAYER_ACTOR current_weapon == 31 else_jump @KMF_DMG_770 if 21@ == 7 else_jump @KMF_DMG_720 21@ += 3 :KMF_DMG_720 if 21@ == 14 else_jump @KMF_DMG_745 21@ -= 4 :KMF_DMG_745 if 21@ == 16 else_jump @KMF_DMG_770 21@ -= 6 :KMF_DMG_770 return :KMF_DMG_772 if 02D8: actor $PLAYER_ACTOR current_weapon == 24 else_jump @KMF_DMG_865 if 21@ == 49 else_jump @KMF_DMG_815 21@ -= 3 :KMF_DMG_815 if 21@ == 42 else_jump @KMF_DMG_840 21@ += 4 :KMF_DMG_840 if 21@ == 51 else_jump @KMF_DMG_865 21@ -= 5 :KMF_DMG_865 return :KMF_DMG_867 if 02D8: actor $PLAYER_ACTOR current_weapon == 33 else_jump @KMF_DMG_960 if 21@ == 21 else_jump @KMF_DMG_910 21@ += 4 :KMF_DMG_910 if 21@ == 28 else_jump @KMF_DMG_935 21@ -= 3 :KMF_DMG_935 if 21@ == 30 else_jump @KMF_DMG_960 21@ -= 5 :KMF_DMG_960 return :KMF_DMG_962 005A: 20@ += 21@ // (int) 19@ += 1 12@ = 1 13@ = 250 14@ = 203.0 if 03D0: wav 1 loaded else_jump @KMF_DMG_1021 040D: unload_wav 1 :KMF_DMG_1021 03CF: load_wav 17802 as 1 :KMF_DMG_1028 wait 0 03D0: wav 1 loaded else_jump @KMF_DMG_1028 03D1: play_wav 1 return :KMF_DMG_1049 if 6@ == 1 else_jump @KMF_DMG_1272 8@ -= 0.3 7@ -= 2 alloc 0@ 96 format 0@ "-%d HP (x%d)" 3@ 5@ 0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED151' 30@ 0AA5: call 7439872 num_params 2 pop 2 30@ 0@ 03F0: enable_text_draw 1 0342: set_text_draw_centered 1 033F: set_text_draw_letter_size 0.29 0.85 081C: draw_text_outline 1 RGBA 0 0 0 7@ 0340: set_text_draw_RGBA 255 0 0 7@ 033E: set_draw_text_position 410.0 8@ GXT 'CRED151' // KNM FAPHN free 0@ if 7@ == 0 else_jump @KMF_DMG_1272 3@ = 0 6@ = 0 5@ = 0 :KMF_DMG_1272 if 12@ == 1 else_jump @KMF_DMG_1496 14@ -= 0.3 13@ -= 2 alloc 0@ 1024 03F0: enable_text_draw 1 format 0@ "+%d HP (x%d)" 20@ 19@ 0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED153' 31@ 0AA5: call 7439872 num_params 2 pop 2 31@ 0@ 0342: set_text_draw_centered 1 033F: set_text_draw_letter_size 0.29 0.85 081C: draw_text_outline 1 RGBA 0 0 0 13@ 0340: set_text_draw_RGBA 0 255 0 13@ 033E: set_draw_text_position 232.0 14@ GXT 'CRED153' // 4APLNH M3FNP free 0@ if 13@ == 0 else_jump @KMF_DMG_1496 12@ = 0 24@ = -1 26@ = 1 :KMF_DMG_1496 return :KMF_DMG_1498 call @KMF_DMG_1806 0 1@ 1@ += 353 0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 call @KMF_DMG_1635 1 2@ 3@ 3@ += 0 0A8D: 4@ = read_memory 3@ size 4 virtual_protect 0 4@ += 444 0A8D: 5@ = read_memory 4@ size 4 virtual_protect 0 4@ += 4 0A8D: 6@ = read_memory 4@ size 4 virtual_protect 0 0092: 10@ = float 5@ to_integer 0092: 11@ = float 6@ to_integer ret 3 2@ 10@ 11@ :KMF_DMG_1635 0AA2: 1@ = load_library "kernel32.dll" // IF and SET 0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET 0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@ 3@ += 2203896 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 973 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 24 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 46 0@ *= 4 005A: 3@ += 0@ // (int) 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 ret 1 3@ :KMF_DMG_1806 0AA2: 1@ = load_library "kernel32.dll" // IF and SET 0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET 0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@ 3@ += 2203896 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 973 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 24 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 34 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 ret 1 3@ :KMF_DMG_1962 0AA2: 0@ = load_library "samp.dll" // IF and SET 0085: 1@ = 0@ // (int) 1@ += 2203876 0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1 0085: 2@ = 0@ // (int) 2@ += 409616 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "KMF - Damage Informer - {00FAFF}0.3.7" 8 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Original mod - {00FAFF}Kewl & Rasta" 8 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Updated to 0.3.7/NO SAMPFUNCS - {00FAFF}RENKO & Rasta" 8 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Modifed - {00FAFF}Dark_Knight" 8 ret 0 :KMF_DMG_2288 call @KMF_DMG_2731 1 0@ 1@ 0470: 2@ = actor $PLAYER_ACTOR current_weapon if or 2@ == 22 2@ == 23 2@ == 24 2@ == 26 2@ == 28 2@ == 32 else_jump @KMF_DMG_2420 if 1@ > 35.0 else_jump @KMF_DMG_2407 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2420 :KMF_DMG_2407 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2420 if or 2@ == 25 2@ == 27 else_jump @KMF_DMG_2500 if 1@ > 40.0 else_jump @KMF_DMG_2487 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2500 :KMF_DMG_2487 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2500 if 2@ == 29 else_jump @KMF_DMG_2573 if 1@ > 45.0 else_jump @KMF_DMG_2560 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2573 :KMF_DMG_2560 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2573 if or 2@ == 30 2@ == 31 else_jump @KMF_DMG_2653 if 1@ > 50.0 else_jump @KMF_DMG_2640 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2653 :KMF_DMG_2640 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2653 if 2@ == 33 else_jump @KMF_DMG_2726 if 1@ > 60.0 else_jump @KMF_DMG_2713 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2726 :KMF_DMG_2713 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2726 ret 0 :KMF_DMG_2731 Actor.StorePos(0@, 1@, 2@, 3@) Actor.StorePos($PLAYER_ACTOR, 4@, 5@, 6@) 0509: 7@ = distance_between_XY 1@ 2@ and_XY 4@ 5@ ret 1 7@
Lines: 0241 and 0265. You have 4 parameters: R (red), G (green), B (blue), A (alpha / transparency). Don't change Alpha, it can cause problems.
Colors: http://htmlcolorcodes.com/
![]()
I do have sampfuncs 5.3.3Did you install SAMPFUNCS.asi?
You should install SF 5.3.1 or 5.3.2.I do have sampfuncs 5.3.3
Nothing has changed I still has that crash maybe I re write the CLEO wrong?You should install SF 5.3.1 or 5.3.2.
https://vk.com/doc67219379_437463713?hash=9bb7adefc37c80b9a0&dl=6315b9d33ca31405ff
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread 'kmf_dmg'
03F0: enable_text_draw 1
wait 2000
call @KMF_DMG_1962 0
:KMF_DMG_56
wait 1000
if and
Player.Defined($PLAYER_CHAR)
02CB: actor $PLAYER_ACTOR bounding_sphere_visible
else_jump @KMF_DMG_56
gosub @KMF_DMG_96
jump @KMF_DMG_161
:KMF_DMG_96
3@ = 0
4@ = 0
2@ = 0
5@ = 0
19@ = 0
6@ = 0
12@ = 0
24@ = -1
1@ = 0
return
:KMF_DMG_161
wait 0
:KMF_DMG_165
wait 0
gosub @KMF_DMG_204
gosub @KMF_DMG_327
gosub @KMF_DMG_392
gosub @KMF_DMG_1049
jump @KMF_DMG_165
:KMF_DMG_204
16@ = Actor.Health($PLAYER_ACTOR)
04DD: 29@ = actor $PLAYER_ACTOR armour
005A: 16@ += 29@ // (int)
0085: 4@ = 2@ // (int)
0062: 4@ -= 16@ // (int)
if and
001D: 2@ > 16@ // (int)
4@ > 1
else_jump @KMF_DMG_310
005A: 3@ += 4@ // (int)
5@ += 1
6@ = 1
7@ = 250
8@ = 203.0
:KMF_DMG_310
0085: 2@ = 16@ // (int)
4@ = 0
return
:KMF_DMG_327
if
02E0: actor $PLAYER_ACTOR firing_weapon
else_jump @KMF_DMG_357
1@ = 1
33@ = 0
:KMF_DMG_357
if
33@ > 1000
else_jump @KMF_DMG_390
1@ = 0
26@ = 1
:KMF_DMG_390
return
:KMF_DMG_392
9@ = Actor.Health($PLAYER_ACTOR)
if
9@ > 0
else_jump @KMF_DMG_668
if
0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET
else_jump @KMF_DMG_450
call @KMF_DMG_2288 1 22@
:KMF_DMG_450
if and
1@ == 1
0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET
else_jump @KMF_DMG_661
call @KMF_DMG_1498 0 23@ 17@ 28@
005A: 17@ += 28@ // (int)
if
803B: not 23@ == 24@ // (int)
else_jump @KMF_DMG_545
0085: 18@ = 17@ // (int)
0085: 24@ = 23@ // (int)
26@ = 1
:KMF_DMG_545
0085: 21@ = 18@ // (int)
0062: 21@ -= 17@ // (int)
if
21@ > 2
else_jump @KMF_DMG_646
if
26@ == 1
else_jump @KMF_DMG_618
20@ = 0
19@ = 0
26@ = 0
:KMF_DMG_618
gosub @KMF_DMG_670
gosub @KMF_DMG_772
gosub @KMF_DMG_867
gosub @KMF_DMG_962
:KMF_DMG_646
0085: 18@ = 17@ // (int)
jump @KMF_DMG_668
:KMF_DMG_661
24@ = -1
:KMF_DMG_668
return
:KMF_DMG_670
if or
02D8: actor $PLAYER_ACTOR current_weapon == 30
02D8: actor $PLAYER_ACTOR current_weapon == 31
else_jump @KMF_DMG_770
if
21@ == 7
else_jump @KMF_DMG_720
21@ += 3
:KMF_DMG_720
if
21@ == 14
else_jump @KMF_DMG_745
21@ -= 4
:KMF_DMG_745
if
21@ == 16
else_jump @KMF_DMG_770
21@ -= 6
:KMF_DMG_770
return
:KMF_DMG_772
if
02D8: actor $PLAYER_ACTOR current_weapon == 24
else_jump @KMF_DMG_865
if
21@ == 49
else_jump @KMF_DMG_815
21@ -= 3
:KMF_DMG_815
if
21@ == 42
else_jump @KMF_DMG_840
21@ += 4
:KMF_DMG_840
if
21@ == 51
else_jump @KMF_DMG_865
21@ -= 5
:KMF_DMG_865
return
:KMF_DMG_867
if
02D8: actor $PLAYER_ACTOR current_weapon == 33
else_jump @KMF_DMG_960
if
21@ == 21
else_jump @KMF_DMG_910
21@ += 4
:KMF_DMG_910
if
21@ == 28
else_jump @KMF_DMG_935
21@ -= 3
:KMF_DMG_935
if
21@ == 30
else_jump @KMF_DMG_960
21@ -= 5
:KMF_DMG_960
return
:KMF_DMG_962
005A: 20@ += 21@ // (int)
19@ += 1
12@ = 1
13@ = 250
14@ = 203.0
if
03D0: wav 1 loaded
else_jump @KMF_DMG_1021
040D: unload_wav 1
:KMF_DMG_1021
03CF: load_wav 17802 as 1
:KMF_DMG_1028
wait 0
03D0: wav 1 loaded
else_jump @KMF_DMG_1028
03D1: play_wav 1
return
:KMF_DMG_1049
if
6@ == 1
else_jump @KMF_DMG_1272
8@ -= 0.3
7@ -= 2
alloc 0@ 96
format 0@ "-%d HP (x%d)" 3@ 5@
0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED151' 30@
0AA5: call 7439872 num_params 2 pop 2 30@ 0@
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
033F: set_text_draw_letter_size 0.29 0.85
081C: draw_text_outline 1 RGBA 0 0 0 7@
0340: set_text_draw_RGBA 0 43 255 7@
033E: set_draw_text_position 410.0 8@ GXT 'CRED151' // KNM FAPHN
free 0@
if
7@ == 0
else_jump @KMF_DMG_1272
3@ = 0
6@ = 0
5@ = 0
:KMF_DMG_1272
if
12@ == 1
else_jump @KMF_DMG_1496
14@ -= 0.3
13@ -= 2
alloc 0@ 1024
03F0: enable_text_draw 1
format 0@ "+%d HP (x%d)" 20@ 19@
0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED153' 31@
0AA5: call 7439872 num_params 2 pop 2 31@ 0@
0342: set_text_draw_centered 1
033F: set_text_draw_letter_size 0.29 0.85
081C: draw_text_outline 1 RGBA 0 0 0 13@
0340: set_text_draw_RGBA 255 255 0 13@
033E: set_draw_text_position 232.0 14@ GXT 'CRED153' // 4APLNH M3FNP
free 0@
if
13@ == 0
else_jump @KMF_DMG_1496
12@ = 0
24@ = -1
26@ = 1
:KMF_DMG_1496
return
:KMF_DMG_1498
call @KMF_DMG_1806 0 1@
1@ += 353
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0
call @KMF_DMG_1635 1 2@ 3@
3@ += 0
0A8D: 4@ = read_memory 3@ size 4 virtual_protect 0
4@ += 444
0A8D: 5@ = read_memory 4@ size 4 virtual_protect 0
4@ += 4
0A8D: 6@ = read_memory 4@ size 4 virtual_protect 0
0092: 10@ = float 5@ to_integer
0092: 11@ = float 6@ to_integer
ret 3 2@ 10@ 11@
:KMF_DMG_1635
0AA2: 1@ = load_library "kernel32.dll" // IF and SET
0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET
0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@
3@ += 2203896
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 973
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 24
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 46
0@ *= 4
005A: 3@ += 0@ // (int)
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
ret 1 3@
:KMF_DMG_1806
0AA2: 1@ = load_library "kernel32.dll" // IF and SET
0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET
0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@
3@ += 2203896
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 973
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 24
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
3@ += 34
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
ret 1 3@
:KMF_DMG_1962
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "KMF - Damage Informer - {00FAFF}0.3.7" 8
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Original mod - {00FAFF}Kewl & Rasta" 8
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Updated to 0.3.7/NO SAMPFUNCS - {00FAFF}RENKO & Rasta" 8
0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Modifed - {00FAFF}Dark_Knight" 8
ret 0
:KMF_DMG_2288
call @KMF_DMG_2731 1 0@ 1@
0470: 2@ = actor $PLAYER_ACTOR current_weapon
if or
2@ == 22
2@ == 23
2@ == 24
2@ == 26
2@ == 28
2@ == 32
else_jump @KMF_DMG_2420
if
1@ > 35.0
else_jump @KMF_DMG_2407
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2420
:KMF_DMG_2407
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2420
if or
2@ == 25
2@ == 27
else_jump @KMF_DMG_2500
if
1@ > 40.0
else_jump @KMF_DMG_2487
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2500
:KMF_DMG_2487
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2500
if
2@ == 29
else_jump @KMF_DMG_2573
if
1@ > 45.0
else_jump @KMF_DMG_2560
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2573
:KMF_DMG_2560
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2573
if or
2@ == 30
2@ == 31
else_jump @KMF_DMG_2653
if
1@ > 50.0
else_jump @KMF_DMG_2640
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2653
:KMF_DMG_2640
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2653
if
2@ == 33
else_jump @KMF_DMG_2726
if
1@ > 60.0
else_jump @KMF_DMG_2713
0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1
jump @KMF_DMG_2726
:KMF_DMG_2713
0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1
:KMF_DMG_2726
ret 0
:KMF_DMG_2731
Actor.StorePos(0@, 1@, 2@, 3@)
Actor.StorePos($PLAYER_ACTOR, 4@, 5@, 6@)
0509: 7@ = distance_between_XY 1@ 2@ and_XY 4@ 5@
ret 1 7@
Tell me what color you want to do and I'll give you final scriptNothing has changed I still has that crash maybe I re write the CLEO wrong?
Код:// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- thread 'kmf_dmg' 03F0: enable_text_draw 1 wait 2000 call @KMF_DMG_1962 0 :KMF_DMG_56 wait 1000 if and Player.Defined($PLAYER_CHAR) 02CB: actor $PLAYER_ACTOR bounding_sphere_visible else_jump @KMF_DMG_56 gosub @KMF_DMG_96 jump @KMF_DMG_161 :KMF_DMG_96 3@ = 0 4@ = 0 2@ = 0 5@ = 0 19@ = 0 6@ = 0 12@ = 0 24@ = -1 1@ = 0 return :KMF_DMG_161 wait 0 :KMF_DMG_165 wait 0 gosub @KMF_DMG_204 gosub @KMF_DMG_327 gosub @KMF_DMG_392 gosub @KMF_DMG_1049 jump @KMF_DMG_165 :KMF_DMG_204 16@ = Actor.Health($PLAYER_ACTOR) 04DD: 29@ = actor $PLAYER_ACTOR armour 005A: 16@ += 29@ // (int) 0085: 4@ = 2@ // (int) 0062: 4@ -= 16@ // (int) if and 001D: 2@ > 16@ // (int) 4@ > 1 else_jump @KMF_DMG_310 005A: 3@ += 4@ // (int) 5@ += 1 6@ = 1 7@ = 250 8@ = 203.0 :KMF_DMG_310 0085: 2@ = 16@ // (int) 4@ = 0 return :KMF_DMG_327 if 02E0: actor $PLAYER_ACTOR firing_weapon else_jump @KMF_DMG_357 1@ = 1 33@ = 0 :KMF_DMG_357 if 33@ > 1000 else_jump @KMF_DMG_390 1@ = 0 26@ = 1 :KMF_DMG_390 return :KMF_DMG_392 9@ = Actor.Health($PLAYER_ACTOR) if 9@ > 0 else_jump @KMF_DMG_668 if 0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET else_jump @KMF_DMG_450 call @KMF_DMG_2288 1 22@ :KMF_DMG_450 if and 1@ == 1 0AD2: 22@ = player $PLAYER_CHAR targeted_actor //IF and SET else_jump @KMF_DMG_661 call @KMF_DMG_1498 0 23@ 17@ 28@ 005A: 17@ += 28@ // (int) if 803B: not 23@ == 24@ // (int) else_jump @KMF_DMG_545 0085: 18@ = 17@ // (int) 0085: 24@ = 23@ // (int) 26@ = 1 :KMF_DMG_545 0085: 21@ = 18@ // (int) 0062: 21@ -= 17@ // (int) if 21@ > 2 else_jump @KMF_DMG_646 if 26@ == 1 else_jump @KMF_DMG_618 20@ = 0 19@ = 0 26@ = 0 :KMF_DMG_618 gosub @KMF_DMG_670 gosub @KMF_DMG_772 gosub @KMF_DMG_867 gosub @KMF_DMG_962 :KMF_DMG_646 0085: 18@ = 17@ // (int) jump @KMF_DMG_668 :KMF_DMG_661 24@ = -1 :KMF_DMG_668 return :KMF_DMG_670 if or 02D8: actor $PLAYER_ACTOR current_weapon == 30 02D8: actor $PLAYER_ACTOR current_weapon == 31 else_jump @KMF_DMG_770 if 21@ == 7 else_jump @KMF_DMG_720 21@ += 3 :KMF_DMG_720 if 21@ == 14 else_jump @KMF_DMG_745 21@ -= 4 :KMF_DMG_745 if 21@ == 16 else_jump @KMF_DMG_770 21@ -= 6 :KMF_DMG_770 return :KMF_DMG_772 if 02D8: actor $PLAYER_ACTOR current_weapon == 24 else_jump @KMF_DMG_865 if 21@ == 49 else_jump @KMF_DMG_815 21@ -= 3 :KMF_DMG_815 if 21@ == 42 else_jump @KMF_DMG_840 21@ += 4 :KMF_DMG_840 if 21@ == 51 else_jump @KMF_DMG_865 21@ -= 5 :KMF_DMG_865 return :KMF_DMG_867 if 02D8: actor $PLAYER_ACTOR current_weapon == 33 else_jump @KMF_DMG_960 if 21@ == 21 else_jump @KMF_DMG_910 21@ += 4 :KMF_DMG_910 if 21@ == 28 else_jump @KMF_DMG_935 21@ -= 3 :KMF_DMG_935 if 21@ == 30 else_jump @KMF_DMG_960 21@ -= 5 :KMF_DMG_960 return :KMF_DMG_962 005A: 20@ += 21@ // (int) 19@ += 1 12@ = 1 13@ = 250 14@ = 203.0 if 03D0: wav 1 loaded else_jump @KMF_DMG_1021 040D: unload_wav 1 :KMF_DMG_1021 03CF: load_wav 17802 as 1 :KMF_DMG_1028 wait 0 03D0: wav 1 loaded else_jump @KMF_DMG_1028 03D1: play_wav 1 return :KMF_DMG_1049 if 6@ == 1 else_jump @KMF_DMG_1272 8@ -= 0.3 7@ -= 2 alloc 0@ 96 format 0@ "-%d HP (x%d)" 3@ 5@ 0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED151' 30@ 0AA5: call 7439872 num_params 2 pop 2 30@ 0@ 03F0: enable_text_draw 1 0342: set_text_draw_centered 1 033F: set_text_draw_letter_size 0.29 0.85 081C: draw_text_outline 1 RGBA 0 0 0 7@ 0340: set_text_draw_RGBA 0 43 255 7@ 033E: set_draw_text_position 410.0 8@ GXT 'CRED151' // KNM FAPHN free 0@ if 7@ == 0 else_jump @KMF_DMG_1272 3@ = 0 6@ = 0 5@ = 0 :KMF_DMG_1272 if 12@ == 1 else_jump @KMF_DMG_1496 14@ -= 0.3 13@ -= 2 alloc 0@ 1024 03F0: enable_text_draw 1 format 0@ "+%d HP (x%d)" 20@ 19@ 0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED153' 31@ 0AA5: call 7439872 num_params 2 pop 2 31@ 0@ 0342: set_text_draw_centered 1 033F: set_text_draw_letter_size 0.29 0.85 081C: draw_text_outline 1 RGBA 0 0 0 13@ 0340: set_text_draw_RGBA 255 255 0 13@ 033E: set_draw_text_position 232.0 14@ GXT 'CRED153' // 4APLNH M3FNP free 0@ if 13@ == 0 else_jump @KMF_DMG_1496 12@ = 0 24@ = -1 26@ = 1 :KMF_DMG_1496 return :KMF_DMG_1498 call @KMF_DMG_1806 0 1@ 1@ += 353 0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 call @KMF_DMG_1635 1 2@ 3@ 3@ += 0 0A8D: 4@ = read_memory 3@ size 4 virtual_protect 0 4@ += 444 0A8D: 5@ = read_memory 4@ size 4 virtual_protect 0 4@ += 4 0A8D: 6@ = read_memory 4@ size 4 virtual_protect 0 0092: 10@ = float 5@ to_integer 0092: 11@ = float 6@ to_integer ret 3 2@ 10@ 11@ :KMF_DMG_1635 0AA2: 1@ = load_library "kernel32.dll" // IF and SET 0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET 0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@ 3@ += 2203896 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 973 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 24 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 46 0@ *= 4 005A: 3@ += 0@ // (int) 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 ret 1 3@ :KMF_DMG_1806 0AA2: 1@ = load_library "kernel32.dll" // IF and SET 0AA4: 2@ = get_proc_address "GetModuleHandleA" library 1@ // IF and SET 0AA7: call_function 2@ num_params 1 pop 0 "samp.dll" 3@ 3@ += 2203896 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 973 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 24 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 3@ += 34 0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0 ret 1 3@ :KMF_DMG_1962 0AA2: 0@ = load_library "samp.dll" // IF and SET 0085: 1@ = 0@ // (int) 1@ += 2203876 0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1 0085: 2@ = 0@ // (int) 2@ += 409616 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "KMF - Damage Informer - {00FAFF}0.3.7" 8 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Original mod - {00FAFF}Kewl & Rasta" 8 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Updated to 0.3.7/NO SAMPFUNCS - {00FAFF}RENKO & Rasta" 8 0AA6: call_method 2@ struct 3@ num_params 5 pop 0 0 -4129023 0 "Modifed - {00FAFF}Dark_Knight" 8 ret 0 :KMF_DMG_2288 call @KMF_DMG_2731 1 0@ 1@ 0470: 2@ = actor $PLAYER_ACTOR current_weapon if or 2@ == 22 2@ == 23 2@ == 24 2@ == 26 2@ == 28 2@ == 32 else_jump @KMF_DMG_2420 if 1@ > 35.0 else_jump @KMF_DMG_2407 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2420 :KMF_DMG_2407 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2420 if or 2@ == 25 2@ == 27 else_jump @KMF_DMG_2500 if 1@ > 40.0 else_jump @KMF_DMG_2487 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2500 :KMF_DMG_2487 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2500 if 2@ == 29 else_jump @KMF_DMG_2573 if 1@ > 45.0 else_jump @KMF_DMG_2560 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2573 :KMF_DMG_2560 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2573 if or 2@ == 30 2@ == 31 else_jump @KMF_DMG_2653 if 1@ > 50.0 else_jump @KMF_DMG_2640 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2653 :KMF_DMG_2640 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2653 if 2@ == 33 else_jump @KMF_DMG_2726 if 1@ > 60.0 else_jump @KMF_DMG_2713 0A8C: write_memory 5497324 size 1 value 235 virtual_protect 1 jump @KMF_DMG_2726 :KMF_DMG_2713 0A8C: write_memory 5497324 size 1 value 116 virtual_protect 1 :KMF_DMG_2726 ret 0 :KMF_DMG_2731 Actor.StorePos(0@, 1@, 2@, 3@) Actor.StorePos($PLAYER_ACTOR, 4@, 5@, 6@) 0509: 7@ = distance_between_XY 1@ 2@ and_XY 4@ 5@ ret 1 7@
Change the green colour to this one: B43196 I'd love to learn how to do this tho thank you manTell me what color you want to do and I'll give you final script
like this?Change the green colour to this one: B43196 I'd love to learn how to do this tho thank you man