CLEO Help cleo doesn't stop after reconnect

CLEO related
Status
Not open for further replies.

davidel

Well-known member
Joined
Jan 17, 2020
Messages
207
Reaction score
7
Location
Germania
Code:
{$CLEO .cs}

THREAD 'ExamenTP'
             
0662: printstring "By Zin"
0662: printstring "UGBASE.EU"
REPEAT
    WAIT 0
UNTIL 0AFA:

0B34: samp register_client_command "hacka" to_label @EXAMEN
0A92: create_custom_thread "sss.cs"
31@ == TRUE

:EXAMEN2
WAIT 0
    IF AND
        0B61: samp is_local_player_spawned
        31@ == TRUE
    THEN
        wait 1000
        0af9: samp say_msg "/et"
        wait 1000
        0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x22 {PAGE DOWN}
        wait 15000
        0af9: samp say_msg "/eer"
        wait 1000
        0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x7B {f12}
        wait 10000
        0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x72 {f3 ter}
        wait 5000
        0C8F: samp process_chat_input "/aaa"
        wait 1000
         if
            0B4C: samp is_dialog_active -1
            then
            0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x24 {apasa HOME}
            wait 1000
            wait 1000
            0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x79 {apasa F10}
            wait 1000
            0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x23 {apasa END}
            wait 1000
            0C8F: samp process_chat_input "/abra"
            wait 100
            0C8F: samp process_chat_input "/abra"
            wait 100
            0C8F: samp process_chat_input "/abra"
            wait 100
            0C8F: samp process_chat_input "/+"
            wait 700
        31@ = FALSE
        004E: end_thread 
        END
    END  
jump @EXAMEN2

:EXAMEN
0B12: 31@ = 31@ XOR 1
If
31@ == TRUE
Then
chatmsg "ON" -1
else
chatmsg "OFF" -1
end
SAMP.CmdRet()
/// Snippet
:FAKE_KEYPRESS
if 0AA2: 2@ = load_library "User32.dll"
then
   if 0AA4: 2@ = get_proc_address "keybd_event" library 2@
   then
       0AA5: call 2@ num_params 4 pop 0 0 0 0 0@
       wait 1@
       0AA5: call 2@ num_params 4 pop 0 0 0x02 0 0@
   end
end
0AB2: ret 0
when i reconnect this cleo should stop. why it doesn't stop?

thank you for your time!
 
Last edited:
Status
Not open for further replies.
Top