Code:
This is code
void main()
{
hello world();
}
i use the code tags?
about your problem, perhaps you can try to intercept a message where the client tries to connect first (so it is NOT yet connected).
Even when this is not possible, you can always check every frame for the latest connected clients and kick the latest one.
So, you keep an own list of pEdicts , you can have a flag for HUMAN/BOT and also a TIME (fTimeConnected). This way you can simply check each frame if you have more then MAXHUMANS set. When to many humans connected anyway, you can kick them with a reason: Too many humans present..