Thread: .............
View Single Post
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-27-2015 , 06:39   Re: On ban ID, ban IP.
Reply With Quote #34

Quote:
Originally Posted by TnTSCS View Post
You're trying to print to the console of the client that was banned? Maybe you want PrintToServer?

I would have to check, but perhaps OnBanClient triggers after the client has been kicked from the server? Maybe depending on method?
No, OnBanClient is called b4 the game's engine is known that the client is banned(and b4 their kicked).
https://github.com/alliedmodders/sou...nning.cpp#L315
__________________
WildCard65 is offline