Garry's Mod
Недостаточно оценок
GMod SaySounds
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Контент сервера
Метки дополнений: Развлечение, Ролевая игра
Размер файла
Добавлен
Изменён
404.000 B
10 янв. 2015 г. в 16:50
5 июл. 2022 г. в 23:32
Обновлений: 8 (просмотреть)

Подпишитесь, чтобы загрузить
GMod SaySounds

В 1 коллекции, созданной Dr. Kinky Kinkles
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 16 июн в 8:05 
Fot somre reason this mode doesn't work for me, and i have my sounds in the right folder
Kerk 22 окт. 2023 г. в 19:35 
I just want the normal hl2 characters to talk
Reidor 15 мая. 2023 г. в 11:52 
LOL
ClankerSpanker98 7 янв. 2023 г. в 11:33 
i thought it said GaySounds