Написал скрипт который выводит фейк сообщения в чат. При запуске сампа начинается флуд и игра зависает. Что исправить чтобы работало нормально?
CLEO:
{$CLEO}
{$NOSOURCE}
0000: NOP
repeat
wait 0
until samp.Available()
chatmsg "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Âñå êîìàíäû ñêðèïòà - /fake_help"
chatmsg "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Àâòîð ñêðèïòà - Gaspar Afonso"
0B34: samp register_client_command "fake_help" to_label @fake_help
0B34: samp register_client_command "fake_ammo" to_label @fake_ammo
0B34: samp register_client_command "fake_drugs" to_label @fake_drugs
0B34: samp register_client_command "fake_mask" to_label @fake_mask
0B34: samp register_client_command "fake_money" to_label @fake_money
0B34: samp register_client_command "fake_repare" to_label @fake_repare
0B34: samp register_client_command "fake_kanistra" to_label @fake_kanistra
:fake_help
0AF8: samp add_message_to_chat "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Âñå êîìàíäû ñêðèïòà - /fake_help" color 0x00FFFF
0AF8: samp add_message_to_chat "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Fake ïàòðîíû - /fake_ammo" color 0x00FFFF
0AF8: samp add_message_to_chat "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Fake íàðêîòèêè - /fake_drugs" color 0x00FFFF
0AF8: samp add_message_to_chat "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Fake ìàñêè - /fake_mask" color 0x00FFFF
0AF8: samp add_message_to_chat "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Fake äåíüãè - /fake_money" color 0x00FFFF
0AF8: samp add_message_to_chat "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Fake ïî÷èíêè - /fake_repare" color 0x00FFFF
0AF8: samp add_message_to_chat "{00FFFF}[Arizona RP | Fake äëÿ ìàôèé/áàíä] Fake êàíèñòðû - /fake_kanistra" color 0x00FFFF
0B43: samp cmd_ret
:fake_drugs
0B2B: samp 0@ = get_player_id_by_actor_handle $player_actor
0B36: samp 1@ = get_player_nickname 0@
0AF8: samp add_message_to_chat "{73b461}[Èíôîðìàöèÿ]{ffffff} Âû ïîëîæèëè 50ã íàðêîòèêîâ â Îáùàê" 0xFFFFFF
0AF8: samp add_message_to_chat "{afafaf}%s ïîëîæèë â îáùàê 50ã íàðêîòèêîâ." 0xFFFFFF 1@
0AF9: samp say_msg "/time"
0B43: samp cmd_ret
:fake_ammo
0B2B: samp 0@ = get_player_id_by_actor_handle $player_actor
0B36: samp 2@ = get_player_nickname 0@
0AF8: samp add_message_to_chat "{73b461}[Èíôîðìàöèÿ]{ffffff} Âû ïîëîæèëè 2000 ïàòðîíîâ â Îáùàê" 0xFFFFFF
0AF8: samp add_message_to_chat "{afafaf}%s ïîëîæèë â îáùàê 2000 ïàòðîíîâ." 0xFFFFFF 2@
0AF9: samp say_msg "/time"
0B43: samp cmd_ret
:fake_money
0B2B: samp 0@ = get_player_id_by_actor_handle $player_actor
0B36: samp 3@ = get_player_nickname 0@
0AF8: samp add_message_to_chat "{73b461}%s ïîïîëíèë ñ÷¸ò îðãàíèçàöèè íà {ffffff} 50000$" 0xFFFFFF 3@
0AF9: samp say_msg "/time"
0B43: samp cmd_ret
:fake_mask
0B2B: samp 0@ = get_player_id_by_actor_handle $player_actor
0B36: samp 4@ = get_player_nickname 0@
0AF8: samp add_message_to_chat "{afafaf}%s ïîëîæèë â îáùàê 3 ìàñêè(ó)" 0xFFFFFF 4@
0AF9: samp say_msg "/time"
0B43: samp cmd_ret
:fake_repare
0B2B: samp 0@ = get_player_id_by_actor_handle $player_actor
0B36: samp 5@ = get_player_nickname 0@
0AF8: samp add_message_to_chat "{afafaf}%s ïîëîæèë â îáùàê 1 íàáîð äëÿ ïî÷èíêè." 0xFFFFFF 5@
0AF9: samp say_msg "/time"
0B43: samp cmd_ret
:fake_kanistra
0B2B: samp 0@ = get_player_id_by_actor_handle $player_actor
0B36: samp 6@ = get_player_nickname 0@
0AF8: samp add_message_to_chat "{afafaf}%s ïîëîæèë â îáùàê 1 êàíèñòðó ñ áåíçèíîì." 0xFFFFFF 6@
0AF9: samp say_msg "/time"
0B43: samp cmd_ret