mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 23:03:21 +00:00
ftt: Add troll goo
This commit is contained in:
parent
34a85513fb
commit
18c03d6065
2 changed files with 11 additions and 2 deletions
|
@ -311,6 +311,13 @@ bool ApplyAffect(int victim, const Troll troll, int activator, trollModifier mod
|
|||
} else if(StrEqual(troll.name, "Insta Special")) {
|
||||
FakeClientCommand(victim, "sm_insta");
|
||||
return false;
|
||||
} else if(StrEqual(troll.name, "Goo")) {
|
||||
static float pos[3], ang[3];
|
||||
GetClientAbsOrigin(victim, pos);
|
||||
GetClientAbsAngles(victim, ang);
|
||||
L4D2_SpitterPrj(victim, pos, ang);
|
||||
} else if(StrEqual(troll.name, "Stagger")) {
|
||||
L4D_StaggerPlayer(victim, victim, NULL_VECTOR);
|
||||
} else {
|
||||
#if defined DEBUG
|
||||
PrintToServer("[FTT] Possibly invalid troll, no action: %s", troll.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue