summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua25
1 files changed, 24 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 334fed378..1548cf97d 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -1641,6 +1641,29 @@ end
Type = "string",
},
{
+ Name = "Position",
+ Type = "Vector3d",
+ },
+ {
+ Name = "Volume",
+ Type = "number",
+ },
+ {
+ Name = "Pitch",
+ Type = "number",
+ },
+ },
+ Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%)",
+ },
+ SendSoundEffect =
+ {
+ Params =
+ {
+ {
+ Name = "SoundName",
+ Type = "string",
+ },
+ {
Name = "X",
Type = "number",
},
@@ -1661,7 +1684,7 @@ end
Type = "number",
},
},
- Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%)",
+ Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%) (DEPRECATED, use vector-parametered version instead)",
},
SendTitleTimes =
{