who can fix ?

WtfDude

Участник
Автор темы
39
2
Hello, who can fix script ? In video can see problem.Please fix this script i tried fix a week but...

CLEO:
{$CLEO .cs}

0000:

wait 8500

:KRCAIM_39
0B34: samp register_client_command "grove" to_label @KRCAIM_1691
0B34: samp register_client_command "ballas" to_label @KRCAIM_1775
0B34: samp register_client_command "immo" to_label @KRCAIM_1858
0B34: samp register_client_command "cosa" to_label @KRCAIM_1940
0B34: samp register_client_command "soff" to_label @KRCAIM_2024
0B34: samp register_client_command "sinfo" to_label @KRCAIM_2145
0006: 31@ = 0
0006: 23@ = -1
0006: 24@ = -1
0006: 25@ = -1
0006: 26@ = -1
while true
wait 0

if and
8B21:   not samp is_chat_opened
8B4C:   not samp is_dialog_active -1
0AB0:   key_pressed 106 // num *
then
    if
    31@ == 0
    then
        0ACD: show_text_highpriority "~W~AIM: ~G~ON~W~" time 1000
        018C: play_sound 1083 at 0.0 0.0 0.0
        31@ = 1
        wait 200 
    else
        0ACD: show_text_highpriority "~W~AIM: ~R~OFF~W~" time 1000
        018C: play_sound 1058 at 0.0 0.0 0.0
        31@ = 0
        wait 200
    end
end

if and
31@ == 1
0AD2: 2@ = player $PLAYER_CHAR targeted_actor //IF and SET
then
    wait 0
    if and
    056D:   actor 2@ defined
    0AB0:   key_pressed 1
    then
        0665: get_actor 2@ model_to 22@
        00D6: if and
        8118:   not actor 2@ dead
        02CB:   actor 2@ bounding_sphere_visible 
        if and
        803B:   not  22@ == 23@ // (int)
        803B:   not  22@ == 24@ // (int)
        803B:   not  22@ == 25@ // (int)
        803B:   not  22@ == 26@ // (int)
        then
            0A96: 6@ = actor 2@ struct
            000A: 6@ += 68
            0A8D: 3@ = read_memory 6@ size 4 virtual_protect 0
            000A: 6@ += 4
            0A8D: 4@ = read_memory 6@ size 4 virtual_protect 0
            000A: 6@ += 4
            0A8D: 5@ = read_memory 6@ size 4 virtual_protect 0
            00A0: store_actor 2@ position_to 6@ 7@ 8@
            0006: 10@ = 35
            0093: 10@ = integer 10@ to_float
            0007: 12@ = 17.0
            0017: 12@ /= 360.0
            006B: 3@ *= 12@ // (float)
            006B: 4@ *= 12@ // (float)
            006B: 5@ *= 12@ // (float)
            006B: 3@ *= 10@ // (float)
            006B: 4@ *= 10@ // (float)
            006B: 5@ *= 10@ // (float)
            005B: 6@ += 3@ // (float)
            005B: 7@ += 4@ // (float)
            005B: 8@ += 5@ // (float)
            00A0: store_actor $PLAYER_ACTOR position_to 3@ 4@ 5@
            if
            06BD:   no_obstacles_between 3@ 4@ 5@ and 6@ 7@ 8@ solid 0 car 0 actor 0 object 0 particle 0
            then
                0AB1: @AIM_AT_POS 4 ACTOR 2@ XYZ 6@ 7@ 8@
            end
        end
    end
end

end

:AIM_AT_POS
0087: 4@ = 1@ // (float)
0087: 5@ = 2@ // (float)
0087: 6@ = 3@ // (float)
068D: get_camera_position_to 1@ 2@ 3@
04C4: store_coords_to 7@ 8@ 9@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
0063: 1@ -= 4@ // (float)
0063: 2@ -= 5@ // (float)
0096: make 1@ absolute_float
0096: make 2@ absolute_float
0087: 10@ = 1@ // (float)
0087: 11@ = 2@ // (float)
006B: 10@ *= 10@ // (float)
006B: 11@ *= 11@ // (float)
005B: 10@ += 11@ // (float)
01FB: 10@ = square_root 10@
0087: 11@ = 1@ // (float)
0087: 12@ = 10@ // (float)
0073: 11@ /= 12@ // (float)
0AA5: call 0x4207A0 num_params 1 pop 1 11@
0AE9: pop_float 12@
0AA5: call 0x48DE40 num_params 1 pop 1 11@
0AE9: pop_float 13@
if
0AB1:  @getSlotWeapon  0 16@
then
    if
    0AB1: @getAngleForCam 7 4@ 5@ 7@ 8@ 12@ 13@ 16@ 15@
    then
        000B: 15@ += 0.04253
        0A8C: write_memory 11989592 size 4 value 15@ virtual_protect 0
    end
end
0AB2: 0

:getSlotWeapon
0A96: 0@ = actor $PLAYER_ACTOR struct
000A: 0@ += 1816 // 0x718 = [byte] Current weapon slot (1 size byte)
0A8D: 1@ = read_memory 0@ size 1 virtual_protect 0
if or
0039:   1@ == 2
0039:   1@ == 3
0039:   1@ == 4
0039:   1@ == 5
0039:   1@ == 6
0039:   1@ == 7
then
    0485:   return_true
else
    059A:   return_false
end
0AB2: 1 1@

:getAngleForCam
if
6@ == 5
then
    0007: 7@ = 0.01
    0007: 8@ = 0.01
    0007: 9@ = 1.5607
    0007: 10@ = 1.5807
else
    if
    6@ == 6
    then
        0007: 7@ = 0.018
        0007: 8@ = 0.02
        0007: 9@ = 1.5507
        0007: 10@ = 1.5907
    else
        0007: 7@ = 0.0
        0007: 8@ = 0.0
        0007: 9@ = 1.5707
        0007: 10@ = 1.5707
    end
end

if and
0025:   2@ > 0@ // (float)
0025:   3@ > 1@ // (float)
then
    0063: 5@ -= 8@ // (float)
    0087: 15@ = 5@ // (float)
end

if and
0025:   2@ > 0@ // (float)
8035:   not  3@ >= 1@ // (float)
then
    0013: 5@ *= -1.0
    0063: 5@ -= 7@ // (float)
    0087: 15@ = 5@ // (float)
end

if and
8035:   not  2@ >= 0@ // (float)
0025:   3@ > 1@ // (float)
then
    005B: 4@ += 9@ // (float)
    0087: 15@ = 4@ // (float)
end

if and
8035:   not  2@ >= 0@ // (float)
8035:   not  3@ >= 1@ // (float)
then
    0013: 4@ *= -1.0
    0063: 4@ -= 10@ // (float)
    0087: 15@ = 4@ // (float)
end

0A8D: 11@ = read_memory 11989592 size 4 virtual_protect 0
0063: 11@ -= 15@ // (float)
00D6: if and
8031:   not  11@ >= 0.18
0021:   11@ > -0.18
then
    0485:   return_true
else
    059A:   return_false
end
0AB2: 1 15@

:KRCAIM_1691
0006: 23@ = 65
0006: 24@ = 105
0006: 25@ = 106
0006: 26@ = 107
0AF8: samp add_message_to_chat "{00FF00}Grove Street {55FF7F}are now ignored" color 5635967
0B43: samp cmd_ret

:KRCAIM_1775
0006: 23@ = 102
0006: 24@ = 103
0006: 25@ = 104
0006: 26@ = 195
0AF8: samp add_message_to_chat "{7C00BA}The Ballas {55FF7F}are now ignored" color 5635967
0B43: samp cmd_ret

:KRCAIM_1858
0006: 23@ = 169
0006: 24@ = 124
0006: 25@ = 125
0006: 26@ = 126
0AF8: samp add_message_to_chat "{0044CE}Immortals {55FF7F}are now ignored" color 5635967
0B43: samp cmd_ret

:KRCAIM_1940
0006: 23@ = 120
0006: 24@ = 118
0006: 25@ = 117
0006: 26@ = 263
0AF8: samp add_message_to_chat "{E4E400}Cosa Nostra {55FF7F}are now ignored" color 5635967
0B43: samp cmd_ret

:KRCAIM_2024
0006: 23@ = -1
0006: 24@ = -1
0006: 25@ = -1
0006: 26@ = -1
0AF8: samp add_message_to_chat "Nobody is now ignored. Aimbot is going to lock any target, including your allies." color 5635967
0B43: samp cmd_ret

:KRCAIM_2145
0AF8: samp add_message_to_chat "_____________________________________________________" color 268369920
0AF8: samp add_message_to_chat "Aimbot by {55FF7F}Capo {FFFF00}| Activation: {55FF7F}Num *" color 268435200
0AF8: samp add_message_to_chat "To ignore {00FF00}Grove Street{55FF7F} skins, use: {00ffff}/gs" color 5635967
0AF8: samp add_message_to_chat "To ignore {7C00BA}The Ballas{55FF7F} skins, use: {00ffff}/tb" color 5635967
0AF8: samp add_message_to_chat "To ignore {0044CE}Immortals{55FF7F} skins, use: {00ffff}/imm" color 5635967
0AF8: samp add_message_to_chat "To ignore {E4E400}Cosa Nostra{55FF7F} skins, use: {00ffff}/cn" color 5635967
0AF8: samp add_message_to_chat "To stop ignoring any skin, use: {00ffff}/soff" color 5635967
0AF8: samp add_message_to_chat "You can make Aimbot ignore only one group of skins. Choose the one that you're related to." color 5635967
0AF8: samp add_message_to_chat "_____________________________________________________" color 268369920
0B43: samp cmd_ret

:PLAYER_ACTOR_866
0006: 20@ = -1421
0006: 21@ = -1465
068D: get_camera_position_to 9@ 10@ 11@
000F: 12@ -= 270.0
000F: 13@ -= 90.0
0017: 12@ /= 57.29578
0017: 13@ /= 57.29578
0006: 22@ = -1071
0006: 23@ = -1206
00D6: if
0021:   0@ > 3.141593
004D: jump_if_false @PLAYER_ACTOR_1102
000F: 0@ -= 6.283185

:PLAYER_ACTOR_1102
00D6: if
8031:   not  0@ >= -3.141593
004D: jump_if_false @PLAYER_ACTOR_1133
000B: 0@ += 6.283185

:PLAYER_ACTOR_1133
00D6: if
0021:   1@ > 3.141593
004D: jump_if_false @PLAYER_ACTOR_1164
000F: 1@ -= 6.283185

:PLAYER_ACTOR_1164
00D6: if
8031:   not  1@ >= -3.141593
004D: jump_if_false @PLAYER_ACTOR_1195
000B: 1@ += 6.283185

:PLAYER_ACTOR_1195
0470: 0@ = actor $PLAYER_ACTOR current_weapon
00D6: if and
0029:   0@ >= 22
8019:   not  0@ > 29
004D: jump_if_false @PLAYER_ACTOR_1259
000F: 0@ -= 0.0778
000B: 1@ += 0.04253

:PLAYER_ACTOR_1259
00D6: if
0039:   0@ == 32
004D: jump_if_false @PLAYER_ACTOR_1297
000F: 0@ -= 0.0778
000B: 1@ += 0.04253

:PLAYER_ACTOR_1297
00D6: if and
0029:   31@ >= 30
8019:   not  31@ > 31
004D: jump_if_false @PLAYER_ACTOR_1342
000F: 0@ -= 0.052
000B: 1@ += 0.028

:PLAYER_ACTOR_1342
0006: 20@ = -1071
00D6: if
0039:   0@ == 33
000F: 0@ -= 0.0357
000B: 1@ += 0.01897