This common stock
PHP Code:
stock void TE_SetupBSPDecal(const float vecOrigin[3], int entity, int index)
{
TE_Start("BSP Decal");
TE_WriteVector("m_vecOrigin", vecOrigin);
TE_WriteNum("m_nEntity", entity);
TE_WriteNum("m_nIndex", index);
}
Will add a decal to any vector position...but they seem to just stack up and once the users decal limit (mp_decals) is reached, understandably, no more decals will show up unless you rejoin/restart. Is there a way to remove the decals created with this stock?
Here is a great example using this stock. From what I can tell it doesn't actually remove it from the map, just the array.
https://github.com/bcserv/map-decals...ecals.sp#L1372
Thanks all!
__________________