есть код флудера и я хочу чтобы при выводе в чат сообщения [Внимание] флудер выключался. помогите кому не сложно
Код:
{$CLEO}
0000: NOP
const
DIALOG_STYLE_MSGBOX = 0
end
var
0@ : Int = 0
1@ : Int = 985
2@ : String
end
repeat
wait 0
until 0AFA: is_samp_available
0B34: samp register_client_command "flood" to_label @fact
0B34: samp register_client_command "ftime" to_label @ftime
while true
wait 0
if 0@ == 1
then
say 2@
wait 1@
end
end
:fact
0B35: samp 2@ = get_last_command_params
if 0@ == 0
then
0@ = 1
else
0@ = 0
end
if
0C29: 15@ = stristr string1 14@ string2 "У вас есть 2 минуты, чтобы решить"
then
0@ = 1
else
0@ = 0
end
0B43: samp cmd_ret
:ftime
0B35: samp 1@ = get_last_command_params
0C1A: 1@ = atoi 1@
chatmsg "{8DB600}[УСТАНОВЛЕНО]: Заддержка: {FFBF00}%i" -1 1@
0B43: samp cmd_ret