Quote:
Originally Posted by Acecombat2
L 03/27/2010 - 06 1:57: [SM] Native "GetClientHealth" reported: Client index 0 is invalid
L 03/27/2010 - 06 1:57: [SM] Displaying call stack trace for plugin "l4d2_digestion.smx":
L 03/27/2010 - 06 1:57: [SM] [0] Line 36, l4d2_digestion.sp::Event_PlayerHurt()
|
Oops I try to get the client's health before I check if they are a real client(i.e. the error is caused because I'm checking the world entity's health, which is not a good thing to do)
Fixed it now.
__________________