salahlidame
Active member
- Joined
- Nov 20, 2022
- Messages
- 25
- Reaction score
- 0
some one make cleo automatic press ALT work on R5 wiat activation and desactive
{$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