local status = false
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('status', function()
status = not status -- переключаем статус скрипта, если была false станет true и...