B BladeMightYg Участник Автор темы 35 33 20 Мар 2021 #1 Версия MoonLoader .027.0-preview Как сделать проверку на открытый чат и диалог?
Решение chapo 20 Мар 2021 Lua: if not sampIsChatInputActive() and not sampIsDialogActive() then ... end --или if not sampIsCursorActive() then ... end
Lua: if not sampIsChatInputActive() and not sampIsDialogActive() then ... end --или if not sampIsCursorActive() then ... end
chapo 🫡 В армии с 17.10.2023. В ЛС НЕ ОТВЕЧАЮ Друг 8,747 11,157 20 Мар 2021 Решение #2 Lua: if not sampIsChatInputActive() and not sampIsDialogActive() then ... end --или if not sampIsCursorActive() then ... end Реакции: qdIbp и BladeMightYg Позитивный голос 1 Негативный голос Решение
Lua: if not sampIsChatInputActive() and not sampIsDialogActive() then ... end --или if not sampIsCursorActive() then ... end