local sampev = require 'lib.samp.events'
local active = true -- по умолчанию включен
function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
active = false
sampAddChatMessage('Скрипт выключен', -1)
end
function sampev.onSetPlayerPos(pos)
active = false
sampAddChatMessage('Скрипт выключен', -1)
end