// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE bitwise}
{$USE ini}
{$USE SAMPFUNCS}
{$INCLUDE SF}
0000: NOP
thread "$EDVINCIK"
0661: NOP "MADE BY EDVINCIK"
0661: NOP "UGBASE.EU | ugbase.eu/index.php?members/edvincik.37549"
0661: NOP "BLAST.HK | blast.hk/members/91992/"
0661: NOP "STANDALONE VERSION IS MADE BY OPCODE.EXE"
0661: NOP "UGBASE.EU | ugbase.eu/User-Opcode-eXe"
:EDVINCIK_216
wait 0
SAMP.Available
jf @EDVINCIK_216
Dialog.Create(0@, "MixAimV1 by Edvincik")
Dialog.SetRECT(0@, 300, 300, 300, 570)
Dialog.AddCheckBox(0@, 1, "AimOnShot", 10, 10, 115, 20)
Dialog.AddCheckBox(0@, 2, "AutoShot", 10, 40, 105, 20)
Dialog.AddCheckBox(0@, 3, "IgnoreSameSkin", 10, 70, 155, 20)
Dialog.AddCheckBox(0@, 4, "AntiDeagleSpread", 10, 110, 165, 20)
Dialog.AddEditBox(0@, 5, "", 180, 101, 40, 35)
Dialog.AddCheckBox(0@, 6, "ActivateWithKey", 10, 150, 160, 20)
Dialog.AddEditBox(0@, 7, "", 170, 141, 45, 35)
Dialog.AddStatic(0@, 8, "Smoothing", 110, 180, 200, 30)
Dialog.AddSlider(0@, 9, 20, 210, 260, 30, 100)
Dialog.AddEditBox(0@, 10, "", 127, 245, 45, 35)
Dialog.AddStatic(0@, 11, "FieldOfView", 105, 285, 200, 30)
Dialog.AddSlider(0@, 12, 20, 315, 260, 30, 150)
Dialog.AddEditBox(0@, 13, "", 127, 350, 45, 35)
Dialog.AddStatic(0@, 14, "IgnoredGroup", 100, 390, 200, 30)
Dialog.AddSlider(0@, 15, 20, 420, 260, 30, 5)
Dialog.AddEditBox(0@, 16, "", 90, 455, 120, 35)
Dialog.AddButton(0@, 17, "Help", 100, 510, 100, 30)
Dialog.SetVisible(0@, False)
if
8AAB: not file_exists "CLEO\MixAimV1.ini"
jf @EDVINCIK_1310
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AimOnShot"
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AutoShot"
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoreSameSkin"
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AntiDeagleSpread"
0AF1: write_int 1 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SpreadValue"
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivateWithKey"
0AF1: write_int 106 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivationKey"
0AF1: write_int 10 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SmoothingValue"
0AF1: write_int 100 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "FieldOfView"
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoredGroup"
SAMP.GetScreenResolution(1@, 2@)
1@ /= 3
2@ /= 3
0AF1: write_int 1@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "DialogPosX"
0AF1: write_int 2@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "DialogPosY"
:EDVINCIK_1310
chatmsg "Script {00FF00}< MixAimV1 > {FFFF00}was loaded! Made by: {00FF00}< Edvincik >" -256
0B34: samp register_client_command "maim" to_label @EDVINCIK_5535
0B34: samp register_client_command "mset" to_label @EDVINCIK_5682
30@ = -9547
29@ = -6920
28@ = -4716
27@ = -4087
22@ = -2236
25@ = 0
26@ = 0
alloc 19@ 20
:EDVINCIK_1492
wait 0
call 30@ 1 20@ 20@
if
0C14: strcmp string1 "Asdasda" string2 "Asdasda"
jf @EDVINCIK_2170
0AF0: 20@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivateWithKey"
if
20@ == 1
jf @EDVINCIK_1785
0AF0: 20@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivationKey"
if
key_down 20@
jf @EDVINCIK_1785
0B12: 25@ = 25@ XOR 1
if
25@ == 1
jf @EDVINCIK_1730
print "MixAim: ~g~ON" 1500
jump @EDVINCIK_1751
:EDVINCIK_1730
print "MixAim: ~r~OFF" 1500
:EDVINCIK_1751
wait 0
if
not key_down 20@
jf @EDVINCIK_1778
jump @EDVINCIK_1785
:EDVINCIK_1778
jump @EDVINCIK_1751
:EDVINCIK_1785
if
26@ == 1
jf @EDVINCIK_1817
call 29@ 2 0@ 19@
:EDVINCIK_1817
if and
25@ == 1
26@ == 0
jf @EDVINCIK_2144
0AF0: 21@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AntiDeagleSpread"
if
21@ == 1
jf @EDVINCIK_1983
0AF2: 21@ = get_float_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SpreadValue"
call 28@ 4 24 56 21@ 4
jump @EDVINCIK_2002
:EDVINCIK_1983
call 28@ 4 24 56 1.0 4
:EDVINCIK_2002
if
key_down 2
jf @EDVINCIK_2137
0AF2: 12@ = get_float_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "FieldOfView"
if
call 27@ 1 12@ 23@
jf @EDVINCIK_2137
if
0AD2: 24@ = player $PLAYER_CHAR targeted_actor //IF and SET
jf @EDVINCIK_2126
call 22@ 1 24@
jump @EDVINCIK_2137
:EDVINCIK_2126
call 22@ 1 23@
:EDVINCIK_2137
jump @EDVINCIK_2163
:EDVINCIK_2144
call 28@ 4 24 56 1.0 4
:EDVINCIK_2163
jump @EDVINCIK_2229
:EDVINCIK_2170
chatmsg "Prieiga paskyrai {FF0000}< %s > yra uzdrausta!" -256 20@
end_thread
:EDVINCIK_2229
jump @EDVINCIK_1492
30@ = -4766
29@ = -3327
28@ = -3120
27@ = -3950
22@ = -3010
21@ = -2788
if and
not Actor.Dead(0@)
8B5C: not samp is_player 0@ paused
02CB: actor 0@ bounding_sphere_visible
jf @EDVINCIK_2783
if
call 30@ 1 0@
jf @EDVINCIK_2783
068D: get_camera_position_to 4@ 5@ 6@
04C4: store_coords_to 1@ 2@ 3@ from_actor 0@ with_offset 0.0 0.0 0.0
if
06BD: no_obstacles_between 1@ 2@ 3@ and 4@ 5@ 6@ solid 1 car 1 actor 0 object 1 particle 0
jf @EDVINCIK_2783
call 29@ 3 1@ 2@ 3@ 5@ 4@
call 28@ 2 5@ 4@ 5@ 4@
0AF2: 10@ = get_float_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SmoothingValue"
if
10@ > 0
jf @EDVINCIK_2559
call 27@ 3 4@ 5@ 10@ 4@ 5@
:EDVINCIK_2559
0AF0: 11@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AimOnShot"
if
11@ == 1
jf @EDVINCIK_2677
if
key_down 1
jf @EDVINCIK_2670
if
call 22@ 0
jf @EDVINCIK_2670
0A8C: write_memory 11989592 size 4 value 4@ virtual_protect 0
:EDVINCIK_2670
jump @EDVINCIK_2710
:EDVINCIK_2677
if
call 22@ 0
jf @EDVINCIK_2710
0A8C: write_memory 11989592 size 4 value 4@ virtual_protect 0
:EDVINCIK_2710
0AF0: 12@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AutoShot"
if
12@ == 1
jf @EDVINCIK_2783
call 21@ 1 0@
:EDVINCIK_2783
ret 0
call @EDVINCIK_4617 2 0@ 1 2@ 3@ 4@
call @EDVINCIK_4617 2 0@ 6 5@ 6@ 7@
call @EDVINCIK_4450 3 2@ 3@ 4@ 2@ 3@
call @EDVINCIK_4450 3 5@ 6@ 7@ 4@ 5@
0509: 6@ = distance_between_XY 2@ 3@ and_XY 4@ 5@
0087: 7@ = 6@ // (float)
6@ /= 2.0
7@ *= 2.0
if
05A5: is_area_center 339.0 178.5 scale 1.0 1.0 overlaping_area_center 2@ 3@ scale 6@ 7@
jf @EDVINCIK_3005
8@ = 12006488
8@ += 34
0A8C: write_memory 8@ size 1 value 255 virtual_protect 0
:EDVINCIK_3005
ret 0
0A96: 7@ = actor $PLAYER_ACTOR struct
0A8E: 8@ = 7@ + 1816 // int
0A8D: 8@ = read_memory 8@ size 1 virtual_protect 0
8@ *= 28
0A8E: 9@ = 7@ + 1440 // int
005A: 9@ += 8@ // (int)
9@ += 8
0A8D: 9@ = read_memory 9@ size 4 virtual_protect 0
if
9@ == 0
jf @EDVINCIK_3113
return_false
jump @EDVINCIK_3115
:EDVINCIK_3113
return_true
:EDVINCIK_3115
ret 0
if
not 0@ >= -0.2
jf @EDVINCIK_3218
0087: 3@ = 0@ // (float)
3@ *= 10.0
3@ = Math.Ceil(3@)
3@ *= -1.0
3@ -= 1.0
4@ = Math.Power(1.47, 3@)
4@ /= 1000.0
005B: 1@ += 4@ // (float)
:EDVINCIK_3218
if
0@ > 0.2
jf @EDVINCIK_3316
0087: 3@ = 0@ // (float)
3@ *= -10.0
3@ = Math.Ceil(3@)
3@ *= -1.0
3@ -= 1.0
4@ = Math.Power(1.67, 3@)
4@ /= 1000.0
005B: 1@ += 4@ // (float)
:EDVINCIK_3316
ret 2 0@ 1@
20@ = -3871
21@ = -3915
068D: get_camera_position_to 9@ 10@ 11@
call 20@ 6 0@ 1@ 2@ 9@ 10@ 11@ 12@
call 21@ 4 0@ 1@ 9@ 10@ 13@
12@ -= 270.0
13@ -= 90.0
12@ /= 57.29578
13@ /= 57.29578
22@ = -3521
23@ = -3656
call 22@ 2 12@ 13@ 12@ 13@
call 23@ 2 12@ 13@ 12@ 13@
ret 2 12@ 13@
if
0@ > 3.141593
jf @EDVINCIK_3552
0@ -= 6.283185
:EDVINCIK_3552
if
not 0@ >= -3.141593
jf @EDVINCIK_3583
0@ += 6.283185
:EDVINCIK_3583
if
1@ > 3.141593
jf @EDVINCIK_3614
1@ -= 6.283185
:EDVINCIK_3614
if
not 1@ >= -3.141593
jf @EDVINCIK_3645
1@ += 6.283185
:EDVINCIK_3645
ret 2 0@ 1@
0470: 31@ = actor $PLAYER_ACTOR current_weapon
if and
31@ >= 22
not 31@ > 29
jf @EDVINCIK_3709
0@ -= 0.0778
1@ += 0.04253
:EDVINCIK_3709
if
31@ == 32
jf @EDVINCIK_3747
0@ -= 0.0778
1@ += 0.04253
:EDVINCIK_3747
if and
31@ >= 30
not 31@ > 31
jf @EDVINCIK_3792
0@ -= 0.052
1@ += 0.028
:EDVINCIK_3792
20@ = -3521
if
31@ == 33
jf @EDVINCIK_3840
0@ -= 0.0357
1@ += 0.01897
:EDVINCIK_3840
call 20@ 2 0@ 1@ 0@ 1@
ret 2 0@ 1@
0509: 6@ = distance_between_XY 0@ 1@ and_XY 3@ 4@
0063: 2@ -= 5@ // (float)
0604: get_Z_angle_for_point 6@ 2@ store_to 7@
ret 1 7@
0063: 0@ -= 2@ // (float)
0063: 1@ -= 3@ // (float)
0604: get_Z_angle_for_point 0@ 1@ store_to 4@
ret 1 4@
0A8D: 15@ = read_memory 11989592 size 4 virtual_protect 0
0A8D: 16@ = read_memory 11989576 size 4 virtual_protect 0
0063: 0@ -= 15@ // (float)
0063: 1@ -= 16@ // (float)
20@ = -3521
call 20@ 2 0@ 1@ 0@ 1@
0073: 0@ /= 2@ // (float)
0073: 1@ /= 2@ // (float)
005B: 0@ += 15@ // (float)
005B: 1@ += 16@ // (float)
call 20@ 2 0@ 1@ 0@ 1@
ret 2 0@ 1@
0087: 28@ = 0@ // (float)
0A8D: 29@ = read_memory 12010640 size 4 virtual_protect 0
29@ += 4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
30@ = 0
:EDVINCIK_4135
0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
29@ += 1
if and
31@ >= 0
128 > 31@
jf @EDVINCIK_4390
005A: 31@ += 30@ // (int)
if
056D: actor 31@ defined
jf @EDVINCIK_4390
if
803C: not $PLAYER_ACTOR == 31@ // (int)
jf @EDVINCIK_4390
04C4: store_coords_to 27@ 26@ 25@ from_actor 31@ with_offset 0.0 0.0 0.0
068D: get_camera_position_to 24@ 23@ 22@
if and
02CB: actor 31@ bounding_sphere_visible
06BD: no_obstacles_between 27@ 26@ 25@ and 24@ 23@ 22@ solid 1 car 1 actor 0 object 1 particle 0
jf @EDVINCIK_4390
call @EDVINCIK_4450 3 27@ 26@ 25@ 24@ 23@
0509: 22@ = distance_between_XY 339.0 179.0 and_XY 24@ 23@
if
0035: 28@ >= 22@ // (float)
jf @EDVINCIK_4390
0087: 28@ = 22@ // (float)
0087: 15@ = 31@ // (float)
:EDVINCIK_4390
30@ += 256
30@ > 35584
jf @EDVINCIK_4135
if
056D: actor 15@ defined
jf @EDVINCIK_4440
return_true
jump @EDVINCIK_4442
:EDVINCIK_4440
return_false
:EDVINCIK_4442
ret 1 15@
:EDVINCIK_4450
0AC7: 14@ = var 0@ offset
0AC7: 15@ = var 3@ offset
0AC7: 16@ = var 6@ offset
0AC7: 17@ = var 9@ offset
0AA5: call 7392816 num_params 6 pop 6 0 0 17@ 16@ 15@ 14@
12@ = 640.0
13@ = 448.0
0A8D: 14@ = read_memory 12677188 size 4 virtual_protect 0
0A8D: 15@ = read_memory 12677192 size 4 virtual_protect 0
0093: 14@ = integer 14@ to_float
0093: 15@ = integer 15@ to_float
0073: 12@ /= 14@ // (float)
0073: 13@ /= 15@ // (float)
006B: 3@ *= 12@ // (float)
006B: 4@ *= 13@ // (float)
ret 2 3@ 4@
:EDVINCIK_4617
0085: 10@ = 0@ // (int)
0085: 15@ = 1@ // (int)
1@ = 0.0
2@ = 0.0
3@ = 0.0
0A96: 0@ = actor 10@ struct
0AC7: 4@ = var 1@ offset
0AA6: call_method 6160832 struct 0@ num_params 3 pop 0 1 15@ 4@
ret 3 1@ 2@ 3@
0@ += 36
0@ *= 112
0@ += 13150904
005A: 0@ += 1@ // (int)
0A8C: write_memory 0@ size 3@ value 2@ virtual_protect 0
ret 0
TIMERB = 1
0AF0: 18@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoredGroup"
0AF0: 17@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoreSameSkin"
0665: get_actor 0@ model_to 30@
0665: get_actor $PLAYER_ACTOR model_to 29@
if
17@ == 1
jf @EDVINCIK_4931
if
003B: 30@ == 29@ // (int)
jf @EDVINCIK_4931
TIMERB = 0
:EDVINCIK_4931
if
18@ == 1
jf @EDVINCIK_4995
if or
30@ == 105
30@ == 106
30@ == 107
30@ == 65
jf @EDVINCIK_4995
TIMERB = 0
:EDVINCIK_4995
if
18@ == 2
jf @EDVINCIK_5060
if or
30@ == 102
30@ == 103
30@ == 104
30@ == 195
jf @EDVINCIK_5060
TIMERB = 0
:EDVINCIK_5060
if
18@ == 3
jf @EDVINCIK_5125
if or
30@ == 124
30@ == 125
30@ == 126
30@ == 169
jf @EDVINCIK_5125
TIMERB = 0
:EDVINCIK_5125
if
18@ == 4
jf @EDVINCIK_5190
if or
30@ == 117
30@ == 118
30@ == 120
30@ == 263
jf @EDVINCIK_5190
TIMERB = 0
:EDVINCIK_5190
if
18@ == 5
jf @EDVINCIK_5501
if or
30@ == 285
30@ == 211
30@ == 165
jf @EDVINCIK_5257
TIMERB = 0
jump @EDVINCIK_5501
:EDVINCIK_5257
if or
30@ == 211
30@ == 286
30@ == 304
30@ == 305
jf @EDVINCIK_5314
TIMERB = 0
jump @EDVINCIK_5501
:EDVINCIK_5314
if or
30@ == 287
30@ == 191
30@ == 121
jf @EDVINCIK_5362
TIMERB = 0
jump @EDVINCIK_5501
:EDVINCIK_5362
if or
30@ == 280
30@ == 281
30@ == 282
30@ == 283
30@ == 284
30@ == 288
jf @EDVINCIK_5435
TIMERB = 0
jump @EDVINCIK_5501
:EDVINCIK_5435
if or
30@ == 266
30@ == 267
30@ == 306
30@ == 307
30@ == 166
30@ == 294
jf @EDVINCIK_5501
TIMERB = 0
:EDVINCIK_5501
if
TIMERB == 1
jf @EDVINCIK_5528
return_true
jump @EDVINCIK_5530
:EDVINCIK_5528
return_false
:EDVINCIK_5530
ret 0
:EDVINCIK_5535
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivateWithKey"
if
2@ == 0
jf @EDVINCIK_5680
0B12: 25@ = 25@ XOR 1
if
25@ == 1
jf @EDVINCIK_5659
print "MixAim: ~g~ON" 1500
jump @EDVINCIK_5680
:EDVINCIK_5659
print "MixAim: ~r~OFF" 1500
:EDVINCIK_5680
SAMP.CmdRet
:EDVINCIK_5682
0B12: 26@ = 26@ XOR 1
if
26@ == 1
jf @EDVINCIK_5728
Dialog.SetVisible(0@, True)
SAMP.ToggleCursor(True)
jump @EDVINCIK_5739
:EDVINCIK_5728
Dialog.SetVisible(0@, False)
SAMP.ToggleCursor(False)
:EDVINCIK_5739
0AF0: 4@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "DialogPosX"
0AF0: 5@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "DialogPosY"
Dialog.SetRECT(0@, 4@, 5@, 300, 570)
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AimOnShot"
if
2@ == 1
jf @EDVINCIK_5927
Dialog.SetCheckBoxChecked(0@, 1, True)
jump @EDVINCIK_5936
:EDVINCIK_5927
Dialog.SetCheckBoxChecked(0@, 1, False)
:EDVINCIK_5936
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AutoShot"
if
2@ == 1
jf @EDVINCIK_6014
Dialog.SetCheckBoxChecked(0@, 2, True)
jump @EDVINCIK_6023
:EDVINCIK_6014
Dialog.SetCheckBoxChecked(0@, 2, False)
:EDVINCIK_6023
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoreSameSkin"
if
2@ == 1
jf @EDVINCIK_6107
Dialog.SetCheckBoxChecked(0@, 3, True)
jump @EDVINCIK_6116
:EDVINCIK_6107
Dialog.SetCheckBoxChecked(0@, 3, False)
:EDVINCIK_6116
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AntiDeagleSpread"
if
2@ == 1
jf @EDVINCIK_6202
Dialog.SetCheckBoxChecked(0@, 4, True)
jump @EDVINCIK_6211
:EDVINCIK_6202
Dialog.SetCheckBoxChecked(0@, 4, False)
:EDVINCIK_6211
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SpreadValue"
0C11: memset destination 19@ value 0 size 20
0C1C: 19@ = itoa 2@ radix 10
Dialog.SetControlText(0@, 5, 19@)
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivateWithKey"
if
2@ == 1
jf @EDVINCIK_6372
Dialog.SetCheckBoxChecked(0@, 6, True)
jump @EDVINCIK_6381
:EDVINCIK_6372
Dialog.SetCheckBoxChecked(0@, 6, False)
:EDVINCIK_6381
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivationKey"
0C11: memset destination 19@ value 0 size 20
0C1C: 19@ = itoa 2@ radix 10
Dialog.SetControlText(0@, 7, 19@)
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SmoothingValue"
Dialog.SliderSetValue(0@, 9, 2@)
0C11: memset destination 19@ value 0 size 20
0C1C: 19@ = itoa 2@ radix 10
Dialog.SetControlText(0@, 10, 19@)
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "FieldOfView"
Dialog.SliderSetValue(0@, 12, 2@)
0C11: memset destination 19@ value 0 size 20
0C1C: 19@ = itoa 2@ radix 10
Dialog.SetControlText(0@, 13, 19@)
0AF0: 2@ = get_int_from_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoredGroup"
Dialog.SliderSetValue(0@, 15, 2@)
0C11: memset destination 19@ value 0 size 20
if
2@ == 0
jf @EDVINCIK_6727
format 19@ ""
:EDVINCIK_6727
if
2@ == 1
jf @EDVINCIK_6765
format 19@ "Grove Street"
:EDVINCIK_6765
if
2@ == 2
jf @EDVINCIK_6801
format 19@ "The Ballas"
:EDVINCIK_6801
if
2@ == 3
jf @EDVINCIK_6835
format 19@ "Immortal"
:EDVINCIK_6835
if
2@ == 4
jf @EDVINCIK_6872
format 19@ "Cosa Nostra"
:EDVINCIK_6872
if
2@ == 5
jf @EDVINCIK_6908
format 19@ "Teisesauga"
:EDVINCIK_6908
Dialog.SetControlText(0@, 16, 19@)
SAMP.CmdRet
if
not SAMP.IsCursorActive
jf @EDVINCIK_6937
SAMP.ToggleCursor(True)
:EDVINCIK_6937
if and
Dialog.IsVisible(0@)
not Dialog.IsMinimized(0@)
SAMP.IsCursorActive
key_down 2
jf @EDVINCIK_7081
0B5E: get_cursor_pos 4@ 5@
Dialog.SetRECT(0@, 4@, 5@, 300, 570)
0AF1: write_int 4@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "DialogPosX"
0AF1: write_int 5@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "DialogPosY"
:EDVINCIK_7081
if
Dialog.PopEvent(0@, 6@, 7@)
jf @EDVINCIK_8876
if
6@ == 1025
jf @EDVINCIK_7816
if
7@ == 1
jf @EDVINCIK_7254
if
Dialog.CheckBoxIsChecked(0@, 7@)
jf @EDVINCIK_7210
0AF1: write_int 1 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AimOnShot"
jump @EDVINCIK_7254
:EDVINCIK_7210
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AimOnShot"
:EDVINCIK_7254
if
7@ == 2
jf @EDVINCIK_7384
if
Dialog.CheckBoxIsChecked(0@, 7@)
jf @EDVINCIK_7341
0AF1: write_int 1 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AutoShot"
jump @EDVINCIK_7384
:EDVINCIK_7341
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AutoShot"
:EDVINCIK_7384
if
7@ == 3
jf @EDVINCIK_7526
if
Dialog.CheckBoxIsChecked(0@, 7@)
jf @EDVINCIK_7477
0AF1: write_int 1 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoreSameSkin"
jump @EDVINCIK_7526
:EDVINCIK_7477
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoreSameSkin"
:EDVINCIK_7526
if
7@ == 4
jf @EDVINCIK_7672
if
Dialog.CheckBoxIsChecked(0@, 7@)
jf @EDVINCIK_7621
0AF1: write_int 1 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AntiDeagleSpread"
jump @EDVINCIK_7672
:EDVINCIK_7621
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "AntiDeagleSpread"
:EDVINCIK_7672
if
7@ == 6
jf @EDVINCIK_7816
if
Dialog.CheckBoxIsChecked(0@, 7@)
jf @EDVINCIK_7766
0AF1: write_int 1 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivateWithKey"
jump @EDVINCIK_7816
:EDVINCIK_7766
0AF1: write_int 0 to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivateWithKey"
:EDVINCIK_7816
if
6@ == 1281
jf @EDVINCIK_8333
0C11: memset destination 1@ value 0 size 20
if
7@ == 9
jf @EDVINCIK_7943
Dialog.SliderGetValue(0@, 7@, 8@)
0C1C: 1@ = itoa 8@ radix 10
Dialog.SetControlText(0@, 10, 1@)
0AF1: write_int 8@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SmoothingValue"
:EDVINCIK_7943
if
7@ == 12
jf @EDVINCIK_8039
Dialog.SliderGetValue(0@, 7@, 8@)
0C1C: 1@ = itoa 8@ radix 10
Dialog.SetControlText(0@, 13, 1@)
0AF1: write_int 8@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "FieldOfView"
:EDVINCIK_8039
if
7@ == 15
jf @EDVINCIK_8333
Dialog.SliderGetValue(0@, 7@, 8@)
if
8@ == 0
jf @EDVINCIK_8094
format 1@ ""
:EDVINCIK_8094
if
8@ == 1
jf @EDVINCIK_8132
format 1@ "Grove Street"
:EDVINCIK_8132
if
8@ == 2
jf @EDVINCIK_8168
format 1@ "The Ballas"
:EDVINCIK_8168
if
8@ == 3
jf @EDVINCIK_8202
format 1@ "Immortal"
:EDVINCIK_8202
if
8@ == 4
jf @EDVINCIK_8239
format 1@ "Cosa Nostra"
:EDVINCIK_8239
if
8@ == 5
jf @EDVINCIK_8275
format 1@ "Teisesauga"
:EDVINCIK_8275
Dialog.SetControlText(0@, 16, 1@)
0AF1: write_int 8@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "IgnoredGroup"
:EDVINCIK_8333
if
6@ == 1538
jf @EDVINCIK_8722
0C11: memset destination 1@ value 0 size 20
if
7@ == 5
jf @EDVINCIK_8445
Dialog.GetControlText(0@, 7@, 1@)
0C1A: 8@ = atoi 1@
0AF1: write_int 8@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SpreadValue"
:EDVINCIK_8445
if
7@ == 7
jf @EDVINCIK_8531
Dialog.GetControlText(0@, 7@, 1@)
0C1A: 8@ = atoi 1@
0AF1: write_int 8@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "ActivationKey"
:EDVINCIK_8531
if
7@ == 10
jf @EDVINCIK_8628
Dialog.GetControlText(0@, 7@, 1@)
0C1A: 8@ = atoi 1@
Dialog.SliderSetValue(0@, 9, 8@)
0AF1: write_int 8@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "SmoothingValue"
:EDVINCIK_8628
if
7@ == 13
jf @EDVINCIK_8722
Dialog.GetControlText(0@, 7@, 1@)
0C1A: 8@ = atoi 1@
Dialog.SliderSetValue(0@, 12, 8@)
0AF1: write_int 8@ to_ini_file "CLEO\MixAimV1.ini" section "Settings" key "FieldOfView"
:EDVINCIK_8722
if
6@ == 257
jf @EDVINCIK_8876
if
7@ == 17
jf @EDVINCIK_8876
Dialog.SetVisible(0@, False)
0AC6: 9@ = label @EDVINCIK_8876 offset
SAMP.ShowDialog(1000, "Informacija", 9@, "Atgal", "", 0)
27@ = 1
:EDVINCIK_8815
27@ == 1
jf @EDVINCIK_8876
wait 0
if
SAMP.DialogRespond(1000, 1, 0, 0)
jf @EDVINCIK_8869
Dialog.SetVisible(0@, True)
27@ = 0
:EDVINCIK_8869
jump @EDVINCIK_8815
:EDVINCIK_8876
ret 0
0@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
0@ = SAMP.GetPlayerNickname(0@)
ret 1 0@
jump @EDVINCIK_216