Raised This Month: $32 Target: $400
 8% 

[TF2] Bonus Round Player Effects (25.06.2023)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Plugin ID:
8505
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Gives players effects in the bonus round
    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 - 89 views - 6.9 KB)
    __________________

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


    Thread Tools
    Display Modes

    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 16:16.


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