CLEO Help load cleo 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
so, i have that
{$CLEO .cs}

THREAD '/AD'

REPEAT
WAIT 0
UNTIL 0AFA:

LOG "Auto /ad by Zin"
0@ = TRUE
WHILE TRUE
WAIT 0

// MAIN
IF AND
0@ == TRUE
056D: actor $PLAYER_ACTOR defined
0B61: samp is_local_player_spawned
THEN
0@ == FALSE
wait 1000
0af9: samp say_msg "/best"
wait 100
0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x1B {A}
wait 100
0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x1B {A}
wait 100
0C8F: samp process_chat_input "/invis"
wait 500
0C8F: samp process_chat_input "/+"
wait 0
0A93: end_custom_thread
END
END

: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
if i reconnect to the server with Reconnect script it doesn t load again the script that i put above.. why?
 
Last edited:
Status
Not open for further replies.
Top