- Documentation
- Effects
Category
Effects
All Lua functions and events in the Effects category, on the server and the client.
Client functions 21
createCreates a persistent game particle effect (e.g. smoke, fire, a fountain) at a point in the world.Effect destroyRemoves an effect created byEffect createEffect.fxA one-shot particle effect: blood (a splash in a direction).Add Blood fxA one-shot particle effect: a bullet impact (smoke and sparks).Add Bullet Impact fxA one-shot particle effect: a splash from a shot into water.Add Bullet Splash fxA one-shot particle effect: debris.Add Debris fxA one-shot particle effect: a footstep splash.Add Foot Splash fxA one-shot particle effect: glass shards.Add Glass fxA one-shot particle effect: a muzzle flash.Add Gunshot fxA one-shot particle effect: a punch impact.Add Punch Impact fxA one-shot particle effect: sparks.Add Sparks fxA one-shot particle effect: a tank shot.Add Tank Fire fxA one-shot particle effect: a tyre burst.Add Tyre Burst fxA one-shot particle effect: a hydrant water jet.Add Water Hydrant fxA one-shot particle effect: a water splash.Add Water Splash fxA one-shot particle effect: wood splinters.Add Wood fxCreates particles with a given colour, size and lifetime.Create Particle getReturns the effect's particle density.Effect Density getReturns the effect speed.Effect Speed setSets the effect's particle density (0-2, 1 by default).Effect Density setSets the effect speed (1 by default).Effect Speed