Quote:
Originally Posted by ILOVEPIE
THIS IS HOW U DO THE AUDIO JINDO!
replace action:cTwist with the following
Code:
public Action:cTwist(client, args)
{
g_count = 1;
if (GetConVarBool(g_cvars[CVAR_DANCE]))
{
new bool:messagesEnable = GetConVarBool(g_cvars[CVAR_MESSAGE]);
if (messagesEnable)
{
PrintCenterTextAll("Get ready to Do The Twist!");
}
PrecacheSound("twist/twist.wav");
PrefetchSound("twist/twist.wav");
EmitSoundToAll("twist/twist.wav");
CreateTimer(1.5, tTwist);
return Plugin_Handled;
}
else
{
ReplyToCommand(client, "Twisting is not enabled.");
return Plugin_Handled;
}
}
then make a new folder in sounds named twist and copy in the linked zip file's .wav
|
Hello, sorry for the thread necromancy.
I am not well in compiling, so could someone be so kind and compile this changed version for me? Also, it works with mp3s too, right? I already have a suitable twist.mp3. I imagine that is better for the clients, so they don't have to download a huge wav. Or is it somehow streamed?
Thank you!