Growlith1223 Posted March 23, 2012 Author Share Posted March 23, 2012 hey is there a way to make it so like when a player tries to log in, you can make it say "The server is set to Admin Only, please wait for a little longer."??? Link to comment Share on other sites More sharing options...
Zappy Posted March 23, 2012 Share Posted March 23, 2012 There's a way to do anything and everything.You should be asking "Does anyone want to share code on how to…" ;)```If Player(index).Access < 1 AND frmServer.chkAdminMode.Value = 1 ThenAlertMsg "The server is currently only allowing Admins online."Exit Sub/FunctionEnd if```It's **_something like that_**. Throw it NEAR the top, but below a few login checks in the server side. Just CTRL + F "log in" Link to comment Share on other sites More sharing options...
Growlith1223 Posted March 23, 2012 Author Share Posted March 23, 2012 thx! Link to comment Share on other sites More sharing options...
Growlith1223 Posted March 23, 2012 Author Share Posted March 23, 2012 One more question, Do i put it in HandleLogin? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted March 23, 2012 Share Posted March 23, 2012 [There's already a tutorial on this.](http://www.touchofdeathforums.com/smf/index.php/topic,78800.0.html) (You'll have to add it to HandleNewAccount as well though.) Link to comment Share on other sites More sharing options...
Zopto Posted March 24, 2012 Share Posted March 24, 2012 yea that tutorial works for me ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now