View Single Post
Author Message
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 07-18-2016 , 11:50   [TF2] Taunt Blocker Extended (06.03.2019)
Reply With Quote #1



Description:
This plugin blocks taunts, taunt items or taunt damage, based on team or admin flags.

Cvars:
PHP Code:
sm_tbe_version //version cvar - do not edit
sm_tbe_enabled 1 //enable disable this plugin
sm_tbe_allowtaunts 1 //0-block taunts for everyone, 
//1-allow taunts for everyone, 
//2-allow taunts for red, 
//3-allow taunts for blu, 
//4-allow taunts for admins
sm_tbe_allowtauntdamagetoplayers 0 //0-block tauntdamage for everyone, 
//1-allow everyone to do damage with taunts, 
//2-allow red to do damage with taunts, 
//3-allow blue to do damage with taunts, 
//4-allow admins to do damage with taunts
sm_tbe_allowtauntdamagetobuildings 0 //0-block tauntdamage for everyone, 
//1-allow everyone to do damage with taunts, 
//2-allow red to do damage with taunts, 
//3-allow blue to do damage with taunts, 
//4-allow admins to do damage with taunts
sm_tbe_allowtauntitems 1 //blocks taunts based on taunt items. sm_tbe_allowtaunts blocks taunts before this, so make sure you set it correctly.
//0-block specified taunt items for everyone, 
//1-allow everyone to do taunts, 
//2-allow red to use specified taunt items, 
//3-allow blue to use specified taunt items, 
//4-allow admins to use specified taunt items
sm_tbe_allowtauntitemstimer 0 // Timer for taunt items. Players will be forced to stop taunting when this runs out. 0 = no timer, instant stop. The smallest possible interval is 0.1 seconds.
sm_tbe_adminflag "b" //admin flag needed to be able to taunt(do damage with taunts) if sm_tbe_allowtauntdamage, sm_tbe_allowtauntitems or sm_tbe_allowtaunts are equal to 4 
Commands:
sm_tbe_reloadtauntitems - reloads the ini file. Requires ADMFLAG_GENERIC admin flag.

Installation:


Credits:
Chdata - for his conga blocking plugin - https://forums.alliedmods.net/showthread.php?p=2241567
TonyBaretta - for the conga blocking idea

Changelog:
Attached Files
File Type: ini tbe_tauntitems.ini (277 Bytes, 352 views)
File Type: sp Get Plugin or Get Source (TauntBlockerExtended.sp - 688 views - 13.1 KB)
File Type: smx TauntBlockerExtended.smx (10.3 KB, 331 views)
__________________

Last edited by luki1412; 03-21-2019 at 16:10. Reason: Adding a compiled version because it fails to compile here
luki1412 is offline