Raised This Month: $ Target: $400
 0% 

Invalid player id 0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 12-20-2014 , 12:43   Re: Invalid player id 0
Reply With Quote #7

@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 View Post
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_aliveidattacker ) || ( this == idattacker ) )
        return 
HAM_IGNORED
Yep, that's what I was referring to.
Anyway, welcome back!
RateX is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode