Quote:
Originally Posted by Mitchell
Commit updated
|
Thanks! Developers can really mess with this plugin, which is nice. You dont mind adding precache for custom player model automatically? So plugin makers will not be confused what crashes the server. Also add something like this to transmit hook to prevent players from seeing custom player skin of observed target.
Code:
new target = GetEntPropEnt(client, Prop_Send, "m_hObserverTarget");
if (IsValidEdict(target) && entity == EntRefToEntIndex(CPS_GetSkin(target)))
{
return Plugin_Handled;
}
I also got a question about SetVariantString("forward"). I used it for hats plugin, cant see reason of using it here. AFAIK DoD:S have an attachment 'head' instead of generic 'forward' or 'eyes', so I would check engine version just to be clear.
And SetEntityRenderMode(client, RENDER_NONE) added for preventing double model on a player or 'misanimations', right?
Thanks in advance.
__________________