Script:Files:script/misc/particle trigger.script
From Mod Wiki
object particle_trigger { void vTriggerParticleEffect( float index ); void OnNetworkEvent(); } void particle_trigger::vTriggerParticleEffect( float index ) { if ( sys.isServer() ) { sendNetworkEvent( $null_entity, index ); } playEffect( "fx_triggered_" + index, "", 0 ); } void particle_trigger::OnNetworkEvent() { vTriggerParticleEffect( sys.argvf( 0 ) ); }