CLEO Help Help for this

  • Thread starter Deleted member 50567
  • Start date
CLEO related
Status
Not open for further replies.
D

Deleted member 50567

Guest
This message is "You're too long in the same place, go far", I wanna make a .cs that cheat this has a some way?

Server IP: server5.loskatchorros.com.br
Server Version: 0.3.7-R2
I use samp r1 with sampfuncs
 

Attachments

  • sa-mp-003.png
    sa-mp-003.png
    471.6 KB · Views: 18

Parazitas

God
Joined
Jan 2, 2017
Messages
3,104
Solutions
5
Reaction score
882
Location
Lithuania
PHP:
{$CLEO .cs}
{$NOSOURCE}

0000: NOP

WAIT 1000

CONST
W = 0x57
A = 0x41
S = 0x53
D = 0x44
END

32@ = 0

WHILE TRUE
   WAIT 0
   
if
0ADC:   test_cheat "AFK"
then
    if
    0@ == false
    then
        0@ = true
    else    
        0@ = false
    end
end

if
0@ == true
then
    if
    32@ > 5000 // if 5 sec passed
    then
        0209: 1@ = random_int_in_ranges 1 4
        if
        1@ == 1
        then
            0AB1: @Set_Virtual_Key 2 Key W state 255
            wait 100
            0AB1: @Set_Virtual_Key 2 Key W state 0
        end
        
        if
        1@ == 2
        then
            0AB1: @Set_Virtual_Key 2 Key A state 255
            wait 100
            0AB1: @Set_Virtual_Key 2 Key A state 0
        end
        
        if
        1@ == 3
        then
            0AB1: @Set_Virtual_Key 2 Key S state 255
            wait 100
            0AB1: @Set_Virtual_Key 2 Key S state 0
        end
        
        if
        1@ == 4
        then
            0AB1: @Set_Virtual_Key 2 Key D state 255
            wait 100
            0AB1: @Set_Virtual_Key 2 Key d state 0
        end
        32@ = 0 // reset timer
    end        
end

END

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

Attachments

  • AFK.cs
    17.5 KB · Views: 3
Status
Not open for further replies.
Top