CLEO Help Want to adjust Autohotkey to Cleo

CLEO related
Status
Not open for further replies.
Joined
Apr 12, 2021
Messages
24
Reaction score
0
Location
American
!v:: SendInput t/viplocker{enter}
Numpad1:: SendInput t/layvatlieu{enter}
Numpad3:: SendInput t/lockdoor{enter}t/vao{enter}
I want to adjust this AHK to Cleo. Who can help me?
 

kenpeo

Active member
Joined
May 10, 2014
Messages
27
Reaction score
3
0.3 DL

:SEND_CMD

{

0AB1: @SEND_CMD 1 $text

0.3.DL

}

IF 0AA2: 1@ = "samp.dll"

THEN

1@ += 0x69340

0AA5: call 1@ num_param 1 pop 0 0@

END

0AB2: 0



037 r4

:SEND_CMD

{

0AB1: @SEND_CMD 1 $text

0.3.7 - R4

}

IF 0AA2: 1@ = "samp.dll"

THEN

1@ += 0x698C0

0AA5: call 1@ num_param 1 pop 0 0@

END

0AB2: 0



037 r3

:SEND_CMD
{
0AB1: @SEND_CMD 1 $text
0.3.7 - R3
}
IF 0AA2: 1@ = "samp.dll"
THEN
1@ += 0x69190
0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0


037 r1

:SEND_CMD

{

0AB1: @SEND_CMD 1 text 0@

0.3.7 - R1

}

IF 0AA2: 1@ = "samp.dll"

THEN

1@ += 0x65C60

0AA5: call 1@ num_param 1 pop 0 0@

END

0AB2: 0


{$CLEO .cs}

0000:

REPEAT
WAIT 1000
0A8D: 31@ = readMem 0xC8D4C0 sz 4 vp 0
UNTIL 31@ == 9 // SAMP_IS_READY

0AC8: 0@ = allocate_memory_size 128
0AD3: 0@ = format "/ke"

0AC8: 1@ = allocate_memory_size 128
0AD3: 1@ = format "/ya"

WHILE TRUE
WAIT 0

if 0ab0: 78 // N
then
0AB1: @SEND_CMD 1 0@
wait 1000
end

if 0ab0: 66 // B
then
0AB1: @SEND_CMD 1 1@
wait 1000
end
END


:SEND_CMD
{
0AB1: @SEND_CMD 1 $text
0.3.DL
}
IF 0AA2: 1@ = "samp.dll"
THEN
1@ += 0x69340
0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0
 
Status
Not open for further replies.
Top