Quote:
Originally Posted by Visual77
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.