View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 01-07-2020 , 11:37   Re: [L4D & L4D2] Rock Glow
Reply With Quote #9

@AshesBeneath

You could use SetTransmit so you can filter for which teams the glow should appear.
Maybe someone else has a better tip.

-----------------------------------------------------------------------------------------------------

Also, the plugin won't work for "trunk" throw (that happens in Sacrifice map for example)
would be better to get the model from the tank_rock class than hardcoding it.

E.g.
PHP Code:
char sModelName[128];
GetEntPropString(entityProp_Data"m_ModelName"sModelNamesizeof(sModelName));

DispatchKeyValue(GlowRock"model"sModelName); 
__________________

Last edited by Marttt; 01-07-2020 at 11:48.
Marttt is offline