Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mayor Gamer
Senior Member
Join Date: Nov 2012
Location: GetLocationOfUser(me);
Plugin ID:
5294
Plugin Version:
1.2.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Manages players that taunt after killing another player.
    Old 07-26-2016 , 16:38   [TF2] No Taunting After Killing (1.2.0 - 23/04/2017)
    Reply With Quote #1

    [TF2] No Taunt After Kill







    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

    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
    Attached Files
    File Type: sp Get Plugin or Get Source (no_taunt_after_kill.sp - 226 views - 5.4 KB)
    File Type: smx no_taunt_after_kill.smx (13.6 KB, 353 views)

    Last edited by Mayor Gamer; 04-24-2017 at 21:40. Reason: Version 1.1.1
    Mayor Gamer is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 07-26-2016 , 17:39   Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
    Reply With Quote #2

    Why kill the player if you can block the taunt instead?
    __________________
    luki1412 is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 07-26-2016 , 17:41   Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
    Reply With Quote #3

    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.
    __________________
    Mayor Gamer is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 07-26-2016 , 18:06   Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
    Reply With Quote #4

    Quote:
    Originally Posted by Mayor Gamer View Post
    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)?
    __________________
    luki1412 is offline
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 07-27-2016 , 08:11   Re: [TF2] No Taunting After Killing (1.0.0 - 26/07/2016)
    Reply With Quote #5

    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.
    Snaggle is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 07-28-2016 , 11:34   Re: [TF2] No Taunting After Killing (1.1.0 - 28/07/2016)
    Reply With Quote #6

    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 ;)
    __________________

    Last edited by Mayor Gamer; 07-28-2016 at 11:34.
    Mayor Gamer is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 07-28-2016 , 14:10   Re: [TF2] No Taunting After Killing (1.1.0 - 28/07/2016)
    Reply With Quote #7

    Quote:
    Originally Posted by Mayor Gamer View Post
    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.
    __________________
    luki1412 is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 07-28-2016 , 18:17   Re: [TF2] No Taunting After Killing (1.1.0 - 28/07/2016)
    Reply With Quote #8

    Quote:
    Originally Posted by luki1412 View Post
    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
    __________________
    Mayor Gamer is offline
    gry
    Junior Member
    Join Date: Apr 2014
    Location: Russia, Moscow
    Old 04-16-2017 , 16:28   Re: [TF2] No Taunting After Killing (1.1.1 - 28/07/2016)
    Reply With Quote #9

    It doent work but this plugins works fine https://forums.alliedmods.net/showthread.php?p=2255766
    __________________
    gry is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 04-24-2017 , 21:29   Re: [TF2] No Taunting After Killing (1.2.0 - 23/04/2017)
    Reply With Quote #10

    Released Version 1.2.0
    - Fixed plugin blocking vital taunts such as drinking Bonk! or eating a Sandvich.
    Mayor Gamer is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:26.


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