@Bugsy: I was just talking about Hamlet's method of checking. Since the author's already check !is_user_connected, a connected player won't be out of 1 to maxplayers range.
Quote:
Originally Posted by Bugsy
I'm not sure what conditions you are checking, I just took a guess here.
PHP Code:
//If attacker is dead or attacker hurt himself, return.
if( !is_user_alive( idattacker ) || ( this == idattacker ) )
return HAM_IGNORED;
|
Yep, that's what I was referring to.
Anyway, welcome back!