Added sound effects module, moved all moaning, groaning, and death sounds to zombie sounds sub-module, and made a basic sound API.
This commit is contained in:
@ -75,6 +75,14 @@ public Action:SayCommand(client, argc)
|
||||
{
|
||||
ZR_PrintToChat(client, "!ztele stuck");
|
||||
}
|
||||
else if (StrEqual(args, "play", false))
|
||||
{
|
||||
SEffectsEmitAmbientSound("ambient/machines/heli_pass_distant1.wav");
|
||||
}
|
||||
else if (StrEqual(args, "stop", false))
|
||||
{
|
||||
SEffectsStopAmbientSound("ambient/machines/heli_pass_distant1.wav");
|
||||
}
|
||||
|
||||
return Plugin_Continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user