mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 22:53:21 +00:00
Fix ftt bug
This commit is contained in:
parent
78f44b0733
commit
e23addac7a
2 changed files with 4 additions and 1 deletions
Binary file not shown.
|
@ -496,7 +496,10 @@ bool ApplyAction(int targetUserId, const char[] action, const char[] key, const
|
|||
strcopy(newKey, sizeof(newKey), key);
|
||||
ReplaceString(newKey, sizeof(newKey), "_", " ", true);
|
||||
int flags = StringToInt(value);
|
||||
ApplyTroll(target, newKey, TrollMod_Invalid, flags, 0, action[4] == 's');
|
||||
|
||||
|
||||
// ApplyTroll(int victim, const char[] name, TrollModifier modifier = TrollMod_Invalid, int flags, int activator, bool silent = false);
|
||||
ApplyTroll(target, newKey, TrollMod_Invalid, flags, 0, true);
|
||||
#else
|
||||
PrintToServer("[PlayerNotes] Warn: Action \"%s\" for %N has missing plugin: Feed The Trolls", action, target);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue