CLEO Help [HELP]How to fix this Keybinds?

CLEO related
Status
Not open for further replies.

bobbox

Member
Joined
Dec 6, 2013
Messages
6
Reaction score
0
I need to make it like Autohotkey binds, When i press ALT+R it types /guard but dont send msg, please make it stop auto press [ENTER]

        if and
        0AB0:  key_pressed 18
        0AB0:  key_pressed 82                //ALT+R
        8B21: not  samp is_chat_opened
        then
            0AF9: samp say_msg "/guard" 
            wait 200
        end
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
Code:
if and
    0AB0:   key_pressed 18
    0AB0:   key_pressed 82   //ALT+R
    8B21: not  samp is_chat_opened
then
    0B79: samp set_chat_input_enabled 1 //opens chat
    0B76: samp set_chat_input_text "/guard" //sets chat input text
    wait 200
end
 

bobbox

Member
Joined
Dec 6, 2013
Messages
6
Reaction score
0
springfield link said:
Code:
if and
    0AB0:   key_pressed 18
    0AB0:   key_pressed 82   //ALT+R
    8B21: not  samp is_chat_opened
then
    0B79: samp set_chat_input_enabled 1 //opens chat
    0B76: samp set_chat_input_text "/guard" //sets chat input text
    wait 200
end

works thank you
 
Status
Not open for further replies.
Top