Entity:SetSpawnEffect
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.