Hello!
All you guys know this talkaction: /closeserver /openserver ?
Well, Group id 3+ can stay ingame while server is "closed" for players. And my question is, is it possible to change minimum group id so like GOD's only can be on?
All you guys know this talkaction: /closeserver /openserver ?
LUA:
function onSay(cid, words, param, channel)
local state = GAMESTATE_CLOSED
if(words:sub(2, 2) == "o") then
state = GAMESTATE_NORMAL
end
local str = "Failed to " .. (state == GAMESTATE_CLOSED and "close" or "open") .. " server."
if(doSetGameState(state) ~= LUA_ERROR) then
str = "Server has been " .. (state == GAMESTATE_CLOSED and "closed" or "opened") .. " successfully."
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, str)
return TRUE
end
Well, Group id 3+ can stay ingame while server is "closed" for players. And my question is, is it possible to change minimum group id so like GOD's only can be on?