CLEO Help everytime print "error"

CLEO related

florezyatina

Member
Joined
Nov 3, 2021
Messages
17
Reaction score
0
Location
123
Code:
{$CLEO}
0000:

:sampav
wait 0
0AFA:  is_samp_available
jf @sampav
0b34: "de" @label
0BDE: pause_thread 0

:label
wait 0
    say "/makegun"
if and
80DF: not actor $PLAYER_ACTOR driving
0B4C:  samp is_dialog_active 199 
jf @error
0B3C:  samp is_dialog_responded id 199 button 1 list_item 1 input_text 70
0B43: samp cmd_ret

:error
print "~r~error" 1000
0B43: samp cmd_ret
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
PHP:
{$CLEO}

0000:

repeat
wait 0
0AFA: is_samp_available

0b34: "de" @label

:label
wait 0
say "/makegun"
if and
80DF: not actor $PLAYER_ACTOR driving
0B4C: samp is_dialog_active 199 
Then
0B3C: samp is_dialog_responded id 199 button 1 list_item 1 input_text 70
else
print "~r~error" 1000
end
0B43: samp cmd_ret
 
Top