Почему зависает при активации Cleo скрипта?

Любитель Детройта...

Известный
Автор темы
496
94
{$CLEO}
hex
00 00
end
thread 'tessee'

repeat
wait 228
until Samp.Available()
0B34: "start" to_label @activ

while true
wait 0
if and
9@ == 0
0AB0: key_pressed 18
then
0C72: set_virtual_key 18 down true
wait 55
0C72: set_virtual_key 18 down false
if
Samp.IsDialogActive(-1)
then
0B47: 1
wait 400

while true
wait 70
repeat
until Samp.IsDialogActive(-1)
0B4B: samp set_current_dialog_editbox_text "Моя лавка"
wait 200
0B47: 1

while true
wait 70
repeat
until Samp.IsDialogActive(-1)
wait 120
0B47: 1
end
end
end
end
end





:activ
if 9@ == 0
then
9@ = 70

else
9@ = 0
end
cmdret


активация /start и зажать alt у лавки

Пишу команду активации жму альт у лавки и зависает!