Quote:
Originally Posted by Root_
Reading through the code, dont use MAXMODELLENGTH, use PLATFORM_MAX_PATH instead.
|
Will do.
Quote:
Originally Posted by Root_
On a death event, why you initialize client instead of doing RemoveSkin(GetClientOfUserId(GetEventInt(even t, "userid"))) ?
|
Good point.
Quote:
Originally Posted by Root_
I would switch to player_hurt event and check if (GetClientHealth(client) < 1) if necessary. Because sometimes props wont be removed on player_death event (its late), or it may looks weird in some cases.
|
hmm, ill look into that, shouldnt matter if the player_death event is late or not though..
Quote:
Originally Posted by Root_
Also, does ShouldTransmit hook is really doing something?
Thanks for plugin.
|
Nice catch! seems like I forgot to remove that commented out code there from testing!
Should be stopping the model from being transmitted to the client.