View Single Post
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 02-05-2020 , 05:19   Re: [CS:GO] Limit shot sound distance for deathmatch
Reply With Quote #4

Check the player position and only reproduce his shoot sounds to players in the same map position.

Exists a netprop that tell you the position in the map, like when you use radio commands that says your position, but i dont remember what netprop, I remember that I saw a thread about it. If not, you can use my devzones plugin for make different zones and only the people on these zones can hear his shots. Or if not limit the shot sound by distance for example: distance > 1000 then block sound).

Plugin doable and not hard to do.


EDIT: ok the netprop for find the position is "m_szLastPlaceName"
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 02-05-2020 at 05:39.
Franc1sco is offline
Send a message via MSN to Franc1sco