View Single Post
Author Message
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 06-25-2023 , 11:17   [TF2] Bonus Round Player Effects (25.06.2023)
Reply With Quote #1

Description:
This plugin gives players effects/conditions in the bonus round

Cvars:
PHP Code:
sm_brpe_version     // version cvar - do not edit
sm_brpe_enabled 1  // enable/disable this plugin
sm_brpe_adminflag o   // Admin flag to use for immunity (only one). Must be in char format. Default: o
sm_brpe_mode 0      // 0 - effects are applied to everybody. 1 - only to players with the admin flag. 2 - to all winners plus losers with the admin flag. 3 - to all losers plus winners with the admin flag. Default: 0
sm_brpe_winners_effect 52     // Condition from TFCond enum - applied to the players on the winning team. 0 - do nothing. Default: 52 MAKE SURE THE CONDITION EXISTS IN THE tf2.inc FILE
sm_brpe_losers_effect 24     // Condition from TFCond enum - applied to the players on the losing team. 0 - do nothing. Default: 24  MAKE SURE THE CONDITION EXISTS IN THE tf2.inc FILE
sm_brpe_winners_effect_duration 0  // Duration of the effect, applied to the players on the winning team. 0 - max duration. Default: 0
sm_brpe_losers_effect_duration 0   // Duration of the effect, applied to the players on the losing team. 0 - max duration. Default: 0

// CHANGES TAKE EFFECT AT THE START OF THE ROUND 
Installation:
Autogenerates a .cfg file in cfg\sourcemod when you load it for the first time.


Changelog:


Github - link
Attached Files
File Type: sp Get Plugin or Get Source (BonusRoundPlayerEffects.sp - 106 views - 6.9 KB)
__________________

Last edited by luki1412; 06-25-2023 at 11:48.
luki1412 is offline