Hi guys,
I was thinking about those functions :
"OnClientDisconnect_Post" and
"OnClientConnected".
I see on
https://wiki.alliedmods.net/Counter-...ent_disconnect there is event for client disconnect, but, I would like check in same time if someone succesfuly
connect or
disconnect.
I was more thinking about timer, cause Hook... there is only client_disconnect...
I have not tried yet, maybe should I try for being sure but, if I do a timer like:
Code:
public Action Timer_checkClients(Handle timer)
{
if(OnClientConnected() || OnClientDisconnect_Post())
{
joueurs[MaxClients];
}
return Plugin_Continue;
}