Help cleo script

salahlidame

Member
Joined
Nov 20, 2022
Messages
8
Reaction score
0
some one make cleo automatic press ALT work on R5 wiat activation and desactive
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
This code was written using phone:
PHP:
{$CLEO .cs}

0000:

while true
wait 0

If 0AB0: 90 // Z key pressed
then
repeat
wait 0
until 8AB0: 90 // Z key not pressed
If 31@ == false
then 
31@ = true
0AD1: "Code: ~G~Enabled" 1337
else
31@ = false
0AD1: "Code: ~R~Disabled" 1337
end
end

If 31@ == true
then
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x127 state 255
    WAIT 30
    0AB1: @Set_Virtual_Key 2 KeyOffSet 0x127 state 0
end

end

:Set_Virtual_Key
{
    255 = true
    0 = false
    0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
}
2@ = 0xB72CC
0@ *= 2
005A: 2@ += 0@  // (int
0A8C: write_memory 2@ size 1 value 1@ virtual_protect 0
0AB2: ret 0

Key code:

 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
Code was written based on provided text.

Not was you expected??

Learn how to write request correctly with right information....
 

salahlidame

Member
Joined
Nov 20, 2022
Messages
8
Reaction score
0
game crash ): i want automatic pressing botton left ALT every 1 second that for wtls for ez aresst players in job police without press alt add other key press like K
 
Top