mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-08 22:03:20 +00:00
ftt: Fix soundhook vocalization trolls not working
This commit is contained in:
parent
a7e8cd67f8
commit
f692231542
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -376,7 +376,7 @@ public Action SoundHook(int[] clients, int& numClients, char sample[PLATFORM_MAX
|
|||
}
|
||||
lastButtonUser = -1;
|
||||
}else if(numClients > 0 && entity > 0 && entity <= MaxClients) {
|
||||
if(StrContains(sample, "survivor/voice") > -1) {
|
||||
if(StrContains(sample, "survivor\\voice") > -1) {
|
||||
if(HasTrollMode(entity, Troll_Honk)) {
|
||||
strcopy(sample, sizeof(sample), "player/footsteps/clown/concrete1.wav");
|
||||
return Plugin_Changed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue