diff options
Diffstat (limited to 'gamemode/core/clienteffects/sv_effects.lua')
| -rw-r--r-- | gamemode/core/clienteffects/sv_effects.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gamemode/core/clienteffects/sv_effects.lua b/gamemode/core/clienteffects/sv_effects.lua index cc3039f..d364068 100644 --- a/gamemode/core/clienteffects/sv_effects.lua +++ b/gamemode/core/clienteffects/sv_effects.lua @@ -1,6 +1,14 @@ +---A way to apply effects on players. +-- Also see cl_effects.lua +--@module sv_effects.lua local ed = {} +---Apply an effect to the player. +-- Send a message to a player, saying they should have an effects +--@tparam player ply The player to apply the effect to +--@tparam string name The name of the effect to apply +--@tparam string data Data to send for the effect (can be "") function ed.SendEffect(ply,name,data) net.Start("art_clienteffect") local dlen = #data |
