AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] No Taunting After Killing (1.2.0 - 23/04/2017) (https://forums.alliedmods.net/showthread.php?t=285643)

Mayor Gamer 07-26-2016 16:38

[TF2] No Taunting After Killing (1.2.0 - 23/04/2017)
 
2 Attachment(s)







Hello there. This plugin manages players that taunt after killing somebody and they're told that you can't taunt after killing. That's it :bacon!:

ConVars
Spoiler


Overrides
Spoiler


Requirements for compilation

Known Bugs
  • Not any atm.

Changelog
Quote:

Version 1.2.0
Spoiler

Version 1.1.1
Spoiler

Version 1.1.0
Spoiler

Version 1.0.0
Spoiler


luki1412 07-26-2016 17:39

Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
 
Why kill the player if you can block the taunt instead?

Mayor Gamer 07-26-2016 17:41

Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
 
Yeah, you can block the taunt too. But i think slaying them (for some people) is a better thing so they won't do it again.

luki1412 07-26-2016 18:06

Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
 
Quote:

Originally Posted by Mayor Gamer (Post 2439833)
Yeah, you can block the taunt too. But i think slaying them (for some people) is a better thing so they won't do it again.

Why did you put a TF2_IsPlayerInCondition check at the end of the timer callback function ? There is no point in checking that after you've already decided whether to kill them.

And another thing, you did not stop repeatable timers. To stop a repeatable timer, return Plugin_Stop.

Also, why do save timer handles when you dont use them(advertTimer)?

Snaggle 07-27-2016 08:11

Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
 
I think you should make the slaying an optional feature. No one expects to be slayed for taunting and it'll probably cause a few arguments on servers. If slaying is off, just block it instead.

Mayor Gamer 07-28-2016 11:34

Re: [TF2] No Taunting After Killing (1.1.0 - 28/07/2016)
 
Released version 1.1.0
- Remade whole code.
- Added methods of penalization instead of just slaying.
- Fixed many timer bugs...
- Added chat adverts for players to know when they're able to taunt again (Can be disabled)
- Tweakings.

Thanks Snaggle and luki1412 ! Really helped me out ;)

luki1412 07-28-2016 14:10

Re: [TF2] No Taunting After Killing (1.1.0 - 28/07/2016)
 
Quote:

Originally Posted by Mayor Gamer (Post 2440236)
Released version 1.1.0
- Remade whole code.
- Added methods of penalization instead of just slaying.
- Fixed many timer bugs...
- Added chat adverts for players to know when they're able to taunt again (Can be disabled)
- Tweakings.

Thanks Snaggle and luki1412 ! Really helped me out ;)

https://wiki.alliedmods.net/SourcePa...itional_Syntax - so you can update your syntax. Youre using old and new one.

No need to call AddCommandListener on every death and then remove it. Just add it to OnPluginStart. Its like a hook. Also add one for +taunt as well - AddCommandListener(OnClientTaunt, "+taunt"). No need to use RemoveCommandListener, unless you want to use it in a convar change hook for cvar _enabled.

Mayor Gamer 07-28-2016 18:17

Re: [TF2] No Taunting After Killing (1.1.0 - 28/07/2016)
 
Quote:

Originally Posted by luki1412 (Post 2440299)
https://wiki.alliedmods.net/SourcePa...itional_Syntax - so you can update your syntax. Youre using old and new one.

No need to call AddCommandListener on every death and then remove it. Just add it to OnPluginStart. Its like a hook. Also add one for +taunt as well - AddCommandListener(OnClientTaunt, "+taunt"). No need to use RemoveCommandListener, unless you want to use it in a convar change hook for cvar _enabled.

Thank you luki! Did a minor fix for it. Thanks ;3

gry 04-16-2017 16:28

Re: [TF2] No Taunting After Killing (1.1.1 - 28/07/2016)
 
It doent work but this plugins works fine https://forums.alliedmods.net/showthread.php?p=2255766

Mayor Gamer 04-24-2017 21:29

Re: [TF2] No Taunting After Killing (1.2.0 - 23/04/2017)
 
Released Version 1.2.0
- Fixed plugin blocking vital taunts such as drinking Bonk! or eating a Sandvich.


All times are GMT -4. The time now is 20:42.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.