Quote:
Originally Posted by Bananensap
Well, I do not know sourcepawn. Could you perhaps show me an example by just replacing 1 weapon sound. Or just perhaps implement it in the current plugin?
|
For disabling sounds for near players: (Owner will hear sounds)
PHP Code:
public OnPluginStart()
{
AddTempEntHook("Shotgun Shot", CSS_Hook_ShotgunShot);
}
public Action:CSS_Hook_ShotgunShot(const String:te_name[], const Players[], numClients, Float:delay)
{
return Plugin_Stop
}
__________________