randazzo
.
- 1,417
- 1,037
Код:{$CLEO .cs} //-------------MAIN--------------- 0000: NOP repeat wait 0 until Samp.Available() 0B34: register_client_command "qdrop" to_label @qdrop alloc 1@ 60 0BDE: pause_thread 0 :qdrop 0B35: samp 9@ = get_last_command_params 0AF9: samp say_msg "/drop" 0BC9: samp send_dialog_response dialog 124 button 1 listitem 1 input 0 0B75: samp get_chat_string 99 text_to 1@ prefix_to 0 color_to 0 prefix_color_to 0 0001: wait 300 ms IF 0C29: 2@ = stristr string1 1@ string2 "deagle" THEN 0BC9: samp send_dialog_response dialog 335 button 1 listitem 3 input 0 wait 100 0B47: samp close_current_dialog_with_button 0 end 0B43: samp cmd_ret
Срабатывает через раз, HELP
CLEO:
{$CLEO}
0000: NOP
repeat
wait 0
until 0AFA:
0B34: register_client_command "qdrop" to_label @qdrop
WHILE TRUE
wait 0
IF AND
0@ == 1
0B4C: samp is_dialog_active -1
THEN
0BC9: samp send_dialog_response dialog 124 button 1 listitem 1 input 0
0B75: samp get_chat_string 99 text_to 1@ prefix_to 0 color_to 0 prefix_color_to 0
IF 0C29: 2@ = stristr string1 1@ string2 "deagle"
THEN
0BC9: samp send_dialog_response dialog 335 button 1 listitem 3 input 0
wait 100
0B47: samp close_current_dialog_with_button 0
0@ = 0
free 1@
END
END
END
:qdrop
0AF9: samp say_msg "/drop"
alloc 1@ 128
0@ = 1
0B43: samp cmd_ret