A small and usefull stock:
Code:
stock PrecacheParticleSystem( const String:p_strEffectName[] )
{
static s_numStringTable = INVALID_STRING_TABLE;
if ( s_numStringTable == INVALID_STRING_TABLE )
s_numStringTable = FindStringTable( "ParticleEffectNames" );
AddToStringTable( s_numStringTable, p_strEffectName );
}
Call it in the OnMapStart() forward. It will prevent server from lagging when creating new particle systems for the first time.
I tested it in Left 4 Dead 2. I don't know about other mods, but the most possible is that every >= OrangeBox support this.
__________________