Conversation
Add ClientConnected hook. Called after processing a client connection request.
|
@bionext03 we have problem with this hook, that I didn't notice at the first test. When server starts from offline, log on my connect is
but when i reconnect i get
In other words, IP provided by get_user_ip() in this hook will give us previous connection IP, not current. Sorry that i didn’t notice this at first test, I tested your version by reconnecting to the server, and I just didn’t notice the problem. To get IP from this hook we need something like #221 |
|
AMXX updates the client's ip address in the ClientConnect_Post metamod hook. We just need to add IRehldsServerData::GetNetFrom() to this hook to get the ip of the current client. |
Add ClientConnected hook. Called after processing a client connection request.