CLEO Help AHK to .CS

CLEO related

Ordubey

Member
Joined
Apr 30, 2021
Messages
5
Reaction score
0
Location
ankara
someone make this AHK to CS


#IfWinActive, GTA:SA:MP
N::
SendInput t/ke{enter}
return
b::
SendInput t/ya{enter}
return
 

[RP]Foolish

Active member
Joined
Mar 18, 2020
Messages
68
Reaction score
36
Location
sea
0.3.7 R4 Versiyon
PHP:
{$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.7 - R4
}
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += 0x698C0
    0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0
 

Ordubey

Member
Joined
Apr 30, 2021
Messages
5
Reaction score
0
Location
ankara
When I press the N key, the elephants make me boggle in the game?
gambling ++++ comes to the top left too
 
Last edited:

VINHDZ

Active member
Joined
Nov 14, 2020
Messages
53
Reaction score
0
Location
viet nam
PHP:
{$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.7 - R4
}
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += 0x698C0
    0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0
can you help me write version 0.3dl ?
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,130
Solutions
5
Reaction score
884
Location
Lithuania
can you help me write version 0.3dl ?
PHP:
{$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
 

Bloodriver the Conqueror

Active member
Joined
Mar 23, 2020
Messages
67
Reaction score
14
Location
Turkey
Let Me Make An Example For You. Let Me Make An Example For You. I'll Print With Keys 1, 2, 3 And 4 You Can Do The Same This Way.

Code:
{$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 "1"

0AC8: 1@ = allocate_memory_size 128
0AD3: 1@ = format "2"

0AC8: 2@ = allocate_memory_size 128
0AD3: 2@ = format "3"

0AC8: 3@ = allocate_memory_size 128
0AD3: 3@ = format "4"

WHILE TRUE
WAIT 0

    if 0ab0: 49 // 1
    then
        0AB1: @SEND_CMD 1 0@
        wait 1000
    end
  
    if 0ab0: 50 // 2
    then
        0AB1: @SEND_CMD 1 1@
        wait 1000
    end
   
        if 0ab0: 51 // 3
    then
        0AB1: @SEND_CMD 1 2@
        wait 1000
    end
  
    if 0ab0: 52 // 4
    then
        0AB1: @SEND_CMD 1 3@
        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
 
Last edited:

Beerus

Member
Joined
Oct 26, 2020
Messages
5
Reaction score
0
Location
Australia
Let Me Make An Example For You. Let Me Make An Example For You. I'll Print With Keys 1, 2, 3 And 4 You Can Do The Same This Way. I Thought I Would Tell Hope.

Code:
{$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 "1"

0AC8: 1@ = allocate_memory_size 128
0AD3: 1@ = format "2"

0AC8: 2@ = allocate_memory_size 128
0AD3: 2@ = format "3"

0AC8: 3@ = allocate_memory_size 128
0AD3: 3@ = format "4"

WHILE TRUE
WAIT 0

    if 0ab0: 49 // 1
    then
        0AB1: @SEND_CMD 1 0@
        wait 1000
    end
  
    if 0ab0: 50 // 2
    then
        0AB1: @SEND_CMD 1 1@
        wait 1000
    end
   
        if 0ab0: 51 // 3
    then
        0AB1: @SEND_CMD 1 2@
        wait 1000
    end
  
    if 0ab0: 52 // 4
    then
        0AB1: @SEND_CMD 1 3@
        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

weird. I tried exact same thing, and it didn't work for me but this works. THANK YOU!!!
 
Top