Hello! I found an Cleo Keybinder code and i don.t know how to activate this keybinder, can anyone help me?
This is code:
{$CLEO .cs}
THREAD "KEYBINDER"
if
8AF7: get_samp_base_to 0@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
WHILE TRUE
WAIT 0
if
0ADC: test_cheat "KeyBinder"
THEN
if
31@ == 0
then
0ACD: show_text_highpriority "KeyBinder on." time 1337
018C: play_sound 1083 at 0.0 0.0 0.0
31@ = 1
else
0ACD: show_text_highpriority "KeyBinder off." time 1337
018C: play_sound 1084 at 0.0 0.0 0.0
31@ = 0
end
END
if
31@ == 1
then
if and
0AB0: key_pressed 49
8B21: not samp is_chat_opened
then
0AF9: samp say_msg "Test 1"
wait 200
end
if and
0AB0: key_pressed 50
8B21: not samp is_chat_opened
then
0AF9: samp say_msg "Test 2"
wait 200
end
if and
0AB0: key_pressed 51
8B21: not samp is_chat_opened
then
0AF9: samp say_msg "Test 3"
wait 200
end
end
END
This is code:
{$CLEO .cs}
THREAD "KEYBINDER"
if
8AF7: get_samp_base_to 0@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
WHILE TRUE
WAIT 0
if
0ADC: test_cheat "KeyBinder"
THEN
if
31@ == 0
then
0ACD: show_text_highpriority "KeyBinder on." time 1337
018C: play_sound 1083 at 0.0 0.0 0.0
31@ = 1
else
0ACD: show_text_highpriority "KeyBinder off." time 1337
018C: play_sound 1084 at 0.0 0.0 0.0
31@ = 0
end
END
if
31@ == 1
then
if and
0AB0: key_pressed 49
8B21: not samp is_chat_opened
then
0AF9: samp say_msg "Test 1"
wait 200
end
if and
0AB0: key_pressed 50
8B21: not samp is_chat_opened
then
0AF9: samp say_msg "Test 2"
wait 200
end
if and
0AB0: key_pressed 51
8B21: not samp is_chat_opened
then
0AF9: samp say_msg "Test 3"
wait 200
end
end
END