wait

cartmanznc

Активный
Автор темы
295
37
Всем привет, не подскажите как правильно прописать wait.
Код
йцу:
        if text:find('You are hungry!') or text:find('You are very hungry!') then
            sampSendChat('/cheeps')
Нужна чтобы через 3 секунду команда /cheeps писалась еще раз.
йцу:
        if text:find('You are hungry!') or text:find('You are very hungry!') then
            sampSendChat('/cheeps')
            lu_thread.create(function() wait(3400) end)
            sampSendChat('/cheeps')
Пробовал вот так но что то не получилось.