Loss of sound in game bugg!

Status
Not open for further replies.

DJ TTK

EGO Addict
Level 2
Joined
Dec 22, 2010
Messages
1,372
Can we have a system that restarts the sound when it buggs?
Like on other servers, they say in chat !sound and then it restarts the sound!
It is annoying to leave to main menu to fix it!
:thumbup1:
 
go to consol and type in snd_restart
that will fix sound issues
also may Help to bind that to a key
 
yeah but i mean 4 people how come to the server and dont have console ON, It may make people whant to play on ego more :D
 
Thats easy enough to make a plugin like that.

EDIT: Its done, only problem: Its based off the !guns plugin so it still checks what team that person is on. I am going to post something on the sourcemod forums to see what I can replace it with.
 
Thats easy enough to make a plugin like that.

PHP:
#include <sourcemod>

public Plugin:myinfo = 
{
	name = "fixsnd",
	author = "Unknown",
	description = "<- Description ->",
	version = "1.0",
	url = "<- URL ->"
}

public OnPluginStart()
{
	RegConsoleCmd ("fixsnd", fixsnd);
}

public Action:fixsnd (client, args)
{
	ClientCommand (client, "snd_restart");
	return Plugin_Handled;
}
 
actually, we can bind the "snd_restart" to F5 or something, right?
that might be faster than typing !sound in-chat
just a suggestion though...
 
Status
Not open for further replies.
Back
Top