function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
local ip, port = sampGetCurrentServerAddress()
if ip ~= "185.169.134.5" then -- Тут записывай свой ip .
sampAddChatMessage("[Script]: Тут скрипт работать не будет!", -1)
script:unload() -- Скрипт выгружается.
else
sampAddChatMessage("[Script]: Скрипт запущен", -1) -- Если ip соответствует тому который ты записал скрипт запускается!
end
sampRegisterChatCommand("menu", ASGH)
sampAddChatMessage("секрет", -1)
sampAddChatMessage("секрет", -1)
sampAddChatMessage("секрет", -1)
while true do
wait(0)
end
end