View Single Post
MasterMind420
BANNED
Join Date: Nov 2010
Old 06-26-2017 , 15:22   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
Reply With Quote #13

Quote:
Originally Posted by Visual77 View Post
It's not useless because it could have given you the following errors:

[SM] Native "IsClientInGame" reported: Client index 0 is invalid
[SM] Native "IsPlayerAlive" reported: Client index 0 is invalid
[SM] Native "GetClientTeam" reported: Client index 0 is invalid

Regards.
that would be true if index 0 could actually trigger weapon_fire event but it can't and a client triggering it would not have index 0(world), it is possible that it come back as -1 if the client prematurely disconnects. so as its coded that won't happen, but under other specific situations you are correct.
MasterMind420 is offline