View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 07-02-2014 , 15:48   Re: Custom Player Skins (Core)
Reply With Quote #5

Quote:
Originally Posted by Root_ View Post
Reading through the code, dont use MAXMODELLENGTH, use PLATFORM_MAX_PATH instead.
Will do.

Quote:
Originally Posted by Root_ View Post
On a death event, why you initialize client instead of doing RemoveSkin(GetClientOfUserId(GetEventInt(even t, "userid"))) ?
Good point.

Quote:
Originally Posted by Root_ View Post
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_ View Post
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.

Last edited by Mitchell; 07-02-2014 at 16:12.
Mitchell is offline