AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Surround sound (https://forums.alliedmods.net/showthread.php?t=323039)

Gold Fish 04-11-2020 08:09

Surround sound
 
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

CowGod 04-15-2020 03:42

Re: Surround sound
 
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


All times are GMT -4. The time now is 23:13.

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