B BladeMightYg Участник Автор темы 35 30 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 колобок опидорел Модератор 7,933 8,717 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