View Single Post
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 12-02-2011 , 15:07   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #21

Quote:
Originally Posted by FunkyLoveCow View Post
There are no errors spit out to the console, server error log or SM error log. Ideas?
Remember that this extension either rejects or accepts players on connect. You need to change the "return" to "return true or false" in both cases, and then again at the end of the forward.

When rejecting a player you should format the rejection message so the user doesn't get garbage data like in your screenshot.
__________________

Last edited by GoD-Tony; 12-02-2011 at 15:11.
GoD-Tony is offline