Raised This Month: $51 Target: $400
 12% 

Surround sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gold Fish
Senior Member
Join Date: Mar 2020
Old 04-11-2020 , 08:09   Surround sound
Reply With Quote #1

Hello, how to create and attach to the player a sound that other players would hear? Are there ways besides EmitSound? How to create a sound so that it is surround and the volume changes depending on the distance
Gold Fish is offline
CowGod
Senior Member
Join Date: Feb 2015
Old 04-15-2020 , 03:42   Re: Surround sound
Reply With Quote #2

EmitSoundToAll(const char[] sample, int entity, int channel, int level, int flags, float volume, int pitch, int speakerentity, const float origin[3], const float dir[3], bool updatePos, float soundtime)

Use the correct level and it should work just how you want
CowGod is offline
Send a message via Skype™ to CowGod
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode