Random changes hope they work

This commit is contained in:
Jackzie 2024-03-28 12:13:30 -05:00
parent 9007092afd
commit ccc68b9935
16 changed files with 431 additions and 227 deletions

View file

@ -9,7 +9,8 @@ public void OnMapStart() {
PrecacheSound("custom/meow1.mp3");
AddFileToDownloadsTable("sound/custom/woof1.mp3");
PrecacheSound("custom/woof1.mp3");
AddFileToDownloadsTable("sound/custom/quack.mp3");
PrecacheSound("custom/quack.mp3");
lastButtonUser = -1;
HookEntityOutput("func_button", "OnPressed", Event_ButtonPress);
@ -919,7 +920,7 @@ public Action SoundHook(int clients[MAXPLAYERS], int& numClients, char sample[PL
strcopy(sample, sizeof(sample), "player/footsteps/clown/concrete1.wav");
} else if(trollFlags & 2) {
strcopy(sample, sizeof(sample), "custom/quack.mp3");
// volume += 0.2;
volume = 1.0;
} else if(trollFlags & 4) {
strcopy(sample, sizeof(sample), "custom/meow1.mp3");
volume += 0.2;