- 39
- 2
Hello. I have problem with aim when I shoot from tall buildings aim target near player.He should target the middle man. Please fix
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
thread 'KrcAimV2'
thread 'KrcAim'
:KRCAIM_19
not SAMP.Available
else_jump @KRCAIM_39
wait 0
jump @KRCAIM_19
:KRCAIM_39
0B34: samp register_client_command "gs" to_label @KRCAIM_1691
0B34: samp register_client_command "tb" to_label @KRCAIM_1775
0B34: samp register_client_command "imm" to_label @KRCAIM_1858
0B34: samp register_client_command "cn" to_label @KRCAIM_1940
0B34: samp register_client_command "soff" to_label @KRCAIM_2024
0B34: samp register_client_command "sinfo" to_label @KRCAIM_2145
31@ = 0
23@ = -1
24@ = -1
25@ = -1
26@ = -1
wait 0
chatmsg "Aimas by {55FF7F}Jeff_Capo {FF0000} | Help:{55FF7F} /sinfo" 268369920
:KRCAIM_225
wait 0
14@ = 0
:KRCAIM_236
if
SAMP.IsPlayerConnected(14@)
else_jump @KRCAIM_252
:KRCAIM_252
14@ += 1
if
14@ > 1000
else_jump @KRCAIM_236
0AA3: free_library 19@
if and
not SAMP.ChatInputOpened
not SAMP.IsDialogActive(-1)
key_down 106
else_jump @KRCAIM_454
if
31@ == 0
else_jump @KRCAIM_391
print "~W~AIM BY CAPO: ~G~ON~W~" 1000
018C: play_sound 1083 at 0.0 0.0 0.0
31@ = 1
wait 200
jump @KRCAIM_454
:KRCAIM_391
print "~W~AIM BY CAPO: ~R~OFF~W~" 1000
018C: play_sound 1058 at 0.0 0.0 0.0
31@ = 0
wait 200
:KRCAIM_454
jump @KRCAIM_461
:KRCAIM_461
wait 0
if and
31@ == 1
0AD2: 2@ = player $PLAYER_CHAR targeted_actor //IF and SET
else_jump @KRCAIM_225
:KRCAIM_491
wait 0
if and
056D: actor 2@ defined
key_down 1
else_jump @KRCAIM_225
0665: get_actor 2@ model_to 22@
if and
not Actor.Dead(2@)
02CB: actor 2@ bounding_sphere_visible
else_jump @KRCAIM_225
if and
803B: not 22@ == 23@ // (int)
803B: not 22@ == 24@ // (int)
803B: not 22@ == 25@ // (int)
803B: not 22@ == 26@ // (int)
else_jump @KRCAIM_225
0A96: 6@ = actor 2@ struct
6@ += 68
0A8D: 3@ = read_memory 6@ size 4 virtual_protect 0
6@ += 4
0A8D: 4@ = read_memory 6@ size 4 virtual_protect 0
6@ += 4
0A8D: 5@ = read_memory 6@ size 4 virtual_protect 0
Actor.StorePos(2@, 6@, 7@, 8@)
10@ = 35
0093: 10@ = integer 10@ to_float
12@ = 17.0
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)
Actor.StorePos($PLAYER_ACTOR, 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
else_jump @KRCAIM_850
call @KRCAIM_857 4 2@ 6@ 7@ 8@
:KRCAIM_850
jump @KRCAIM_491
:KRCAIM_857
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 4327328 num_params 1 pop 1 11@
0AE9: pop_float 12@
0AA5: call 4775488 num_params 1 pop 1 11@
0AE9: pop_float 13@
if
call @KRCAIM_1591 0 16@
else_jump @KRCAIM_1152
if
call @KRCAIM_1157 7 4@ 5@ 7@ 8@ 12@ 13@ 16@ 15@
else_jump @KRCAIM_1152
15@ += 0.04
0A8C: write_memory 11989592 size 4 value 15@ virtual_protect 0
:KRCAIM_1152
ret 0
:KRCAIM_1157
if
6@ == 5
else_jump @KRCAIM_1222
7@ = 0.01
8@ = 0.01
9@ = 1.5607
10@ = 1.5807
jump @KRCAIM_1327
:KRCAIM_1222
if
6@ == 6
else_jump @KRCAIM_1287
7@ = 0.018
8@ = 0.02
9@ = 1.5507
10@ = 1.5907
jump @KRCAIM_1327
:KRCAIM_1287
7@ = 0.0
8@ = 0.0
9@ = 1.5707
10@ = 1.5707
:KRCAIM_1327
if and
0025: 2@ > 0@ // (float)
0025: 3@ > 1@ // (float)
else_jump @KRCAIM_1370
0063: 5@ -= 8@ // (float)
0087: 15@ = 5@ // (float)
:KRCAIM_1370
if and
0025: 2@ > 0@ // (float)
8035: not 3@ >= 1@ // (float)
else_jump @KRCAIM_1423
5@ *= -1.0
0063: 5@ -= 7@ // (float)
0087: 15@ = 5@ // (float)
:KRCAIM_1423
if and
8035: not 2@ >= 0@ // (float)
0025: 3@ > 1@ // (float)
else_jump @KRCAIM_1466
005B: 4@ += 9@ // (float)
0087: 15@ = 4@ // (float)
:KRCAIM_1466
if and
8035: not 2@ >= 0@ // (float)
8035: not 3@ >= 1@ // (float)
else_jump @KRCAIM_1519
4@ *= -1.0
0063: 4@ -= 10@ // (float)
0087: 15@ = 4@ // (float)
:KRCAIM_1519
0A8D: 11@ = read_memory 11989592 size 4 virtual_protect 0
0063: 11@ -= 15@ // (float)
if and
not 11@ >= 0.18
11@ > -0.18
else_jump @KRCAIM_1581
return_true
jump @KRCAIM_1583
:KRCAIM_1581
return_false
:KRCAIM_1583
ret 1 15@
:KRCAIM_1591
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 1816
0A8D: 1@ = read_memory 0@ size 1 virtual_protect 0
if or
1@ == 2
1@ == 3
1@ == 4
1@ == 5
1@ == 6
1@ == 7
else_jump @KRCAIM_1681
return_true
jump @KRCAIM_1683
:KRCAIM_1681
return_false
:KRCAIM_1683
ret 1 1@
:KRCAIM_1691
23@ = 65
24@ = 105
25@ = 106
26@ = 107
chatmsg "{00FF00}Grove Street {55FF7F}skinai ignoruojami" 5635967
SAMP.CmdRet
:KRCAIM_1775
23@ = 102
24@ = 103
25@ = 104
26@ = 195
chatmsg "{7C00BA}The Ballas {55FF7F}skinai ignoruojami" 5635967
SAMP.CmdRet
:KRCAIM_1858
23@ = 169
24@ = 124
25@ = 125
26@ = 126
chatmsg "{0044CE}Immortal {55FF7F}skinai ignoruojami" 5635967
SAMP.CmdRet
:KRCAIM_1940
23@ = 120
24@ = 118
25@ = 117
26@ = 263
chatmsg "{E4E400}Cosa Nostra {55FF7F}skinai ignoruojami" 5635967
SAMP.CmdRet
:KRCAIM_2024
23@ = -1
24@ = -1
25@ = -1
26@ = -1
chatmsg " Ignoravimai išjungti ." 5635967
SAMP.CmdRet
:KRCAIM_2145
chatmsg "_____________________________________________________" 268369920
chatmsg "Aimas by {55FF7F}Jeff_Capo {FFFF00}| Įjungimas: {55FF7F}Num *" 268435200
chatmsg "Ignoruoti {00FF00}Grove Street{55FF7F} skinus: {00ffff}/gs" 5635967
chatmsg "Ignoruoti {7C00BA}The Ballas{55FF7F} skinus : {00ffff}/tb" 5635967
chatmsg "Ignoruoti {0044CE}Immortal{55FF7F} skinus : {00ffff}/imm" 5635967
chatmsg "Ignoruoti {E4E400}Cosa Nostra{55FF7F} skinus : {00ffff}/cn" 5635967
chatmsg "Norint išjungti ignoravimus : {00ffff}/soff" 5635967
chatmsg "Ignoruoti galima tik vieną grupę!" 5635967
chatmsg "_____________________________________________________" 268369920
SAMP.CmdRet
Последнее редактирование: