Raised This Month: $ Target: $400
 0% 

Displaying call stack trace for plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-24-2012 , 03:04   Re: Displaying call stack trace for plugin
Reply With Quote #8

Quote:
Originally Posted by Bacardi View Post
When use "player_hurt" event, "attacker" can return with invalid userid == 0,
happens when player hurt by fire, fall damage or get hurt something else than other player(s).

When try get client index by given userid,
GetClientOfUserId(userid) will return 0 if not found. 0 is invalid client index.
It can also be anything that does damage, not just 0.
__________________
FaTony is offline
 


Thread Tools
Display Modes

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 11:43.


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