View Single Post
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 06-28-2014 , 16:04   Re: Custom Player Skins (Core)
Reply With Quote #4

Interesting stuff. That's really a cool thing, because I can enable glow on specific players in CS:GO. Gotta mess with it.
EDIT: I havent tested plugin yet, but got some notes.
Reading through the code, dont use MAXMODELLENGTH, use PLATFORM_MAX_PATH instead.
On a death event, why you initialize client instead of doing RemoveSkin(GetClientOfUserId(GetEventInt(even t, "userid"))) ?
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.
Also, does ShouldTransmit hook is really doing something?
Thanks for plugin.
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot

Last edited by Root_; 06-28-2014 at 18:28.
Root_ is offline