CEffectData:SetFlags
Description
Sets the flags of the effect. Can be used to change the appearance of a MuzzleFlash effect.
Example values for MuzzleFlash effect
| Flags | Description |
|---|---|
| 1 | Regular muzzleflash |
| 5 | Combine muzzleflash |
| 7 | Regular muzzle but bigger |
Internally stored as an integer, but only first 8 bits are networked, effectively limiting this function to
0-255 range.
Garry's Mod
Rust
Steamworks
Wiki Help