Garry's Mod

Garry's Mod

評價次數不足
GMod SaySounds
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
檔案大小
發佈於
更新時間
404.000 B
2015 年 1 月 10 日 下午 4:50
2022 年 7 月 5 日 下午 11:32
8 項更新註記 (檢視)

訂閱以下載
GMod SaySounds

在 Dr. Kinky Kinkles 的 1 個收藏中
Dr. Kinky Kinkles GMod Server
39 個項目
描述
Overview
GMod SaySounds is a simple addon that allows you to play sound files across an entire server by typing in the chat.

For example, by typing "hello" in chat, every person on the server will hear hello.mp3 play.

Requirements
The sounds you want to play must be in .mp3 format and located at:

...steamapps\common\GarrysMod\garrysmod\sound\saysound\*.mp3

Every person in the server must have the same sounds in the same folder.

Sounds
To make things easy, I have uploaded an example pack of 1500+ sounds which you can download here:

PartyVan Sound Pack

Source
Here is the source code in case you wish to modify it.

local function onSay(sender, text, isTeamChat) BroadcastLua( 'sound.PlayFile("sound/saysound/' .. text .. '.mp3", "", function(station, errCode, errStr) end)' ) end hook.Add( "PlayerSay", "SaySounds", onSay)
4 則留言
Licuatronix 6 月 16 日 上午 8:05 
Fot somre reason this mode doesn't work for me, and i have my sounds in the right folder
Kerk 2023 年 10 月 22 日 下午 7:35 
I just want the normal hl2 characters to talk
Reidor 2023 年 5 月 15 日 上午 11:52 
LOL
ClankerSpanker98 2023 年 1 月 7 日 上午 11:33 
i thought it said GaySounds