Ok.
But your new method checks for something every time a player is receiving damage.
In the way We have fixed, the checks occurs already in Ham_Player_Killed.
PHP Code:
if(killer && shouldgib)
return
Also in client_putinserver() your checks occurs for every player for bot registration.
You could make this in FM_CreateFakeClient so the checks will occur only for bots.
About register bots, indeed in your plugin the method We provided is actually not needed. That method actually solves the problem of the first bot in Ham_Spawn.
But these are only suggestions, the plugin is yours buddy.
Thanks.
__________________