local ev = require('lib.samp.events')
local bool = false
function main()
-- проверка на загрузку сампа
sampRegisterChatCommand('abc', function() bool = not bool end)
wait(-1)
end
function ev.--[[твой пакет или рпс]](--[[его аргументы]])
if bool then return false end
end