Heylo, I'd like these functions:
Edit: Only one function necessary ^.-
setLoginStatus(access) -- if access = nil, then NOBODY can login, if it's not nil, only players with that access and above may login. If this script is executed while the server is online, the players under that access will be kicked!
example:
wierd name of function but w/e
Edit: Only one function necessary ^.-
setLoginStatus(access) -- if access = nil, then NOBODY can login, if it's not nil, only players with that access and above may login. If this script is executed while the server is online, the players under that access will be kicked!
example:
PHP:
broadcastMessage("Server will close in 5 minutes, and open again after 10 minutes.")
addEvent(close, 5*60*1000, nil)
function close()
setLoginStatus()
addEvent(open, 5*60*1000, nil)
end
function open()
setLoginStatus(0)
end
wierd name of function but w/e