Garry's Mod Wiki
Description
Sets whether the entity should use a spawn effect when it is created on the client.
See Entity:GetSpawnEffect for more information on how the effect is applied.
This function will only have an effect when the entity spawns. After that it will do nothing even is set to true.
Arguments
Example
Simplified code taken from sandbox's commands.lua
Output: Spawns the ragdoll and then sets the spawnEffect flag to true.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...