CLEO Help Not Working

CLEO related
Status
Not open for further replies.

CristianSS

Active member
Joined
Jul 24, 2017
Messages
27
Reaction score
0
Hello, i have a code and the activate / deactivate is not working.

CODE:

{$CLEO .cs}

0000: NOP

0B34: "turn_on" @ON
0B34: "turn_off" @OFF


:Load
wait 0   
if and
SAMP.Available
5@ == 1
056D:   actor $PLAYER_ACTOR defined //Actor spawned
else_jump @Load
while true
wait 0
   if
       8B21: not samp is_chat_opened
   then
       wait 10                                                               
       say "/help"
       print "Rent" 1000
       wait 100
       0B4E: samp 1@ = get_current_dialog_id
       if
           0B4C:  samp is_dialog_active 1@
       then
           0B49: samp set_current_dialog_list_item 0
           0B47: samp close_current_dialog_with_button 1
       end
   end
end
jump @Load

:ON
wait 0
0B12: 5@ = 5@ XOR 1
print "Cheat ON" 2000
samp.CmdRet()

:OFF
wait 0
0B12: 5@ = 5@ XOR 0
print "Cheat OFF" 2000
samp.CmdRet()
 
Status
Not open for further replies.
Top