Raised This Month: $18 Target: $400
 4% 

Random plant blocker 1.0.2 [2022/12/13]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
7890
Plugin Version:
1.0.2
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Disabling one of the sites depending on the number of players
    Old 12-20-2021 , 14:02   Random plant blocker 1.0.2 [2022/12/13]
    Reply With Quote #1

    Name: Random plant blocker

    Description: The plugin allows you to block one of the sites (A, B or random, depending on the convar) if there are less than a certain number of players on the server (in the teams of terrorists and counter-terrorists).
    If needed change the state of the bombsite, then at the beginning of the round, when the number of players changes and when the bomb is stopped, a warning about blocking / unlocking the site will be displayed (when blocking, it will also write how many players are missing before unlocking).

    There is also support for translations (added only English and Russian, the text is colored without using includes, by default, the text for CS:S OB is used, if you need to use it in CS:GO, then you need to uncomment the lines marked for CS:GO and comment out those marked for CS:S).
    *Work in CS: GO has not been checked (accordingly, the correctness of the coloring of the translation too).
    When unloading, the plugin will unlock the previously blocked site.
    The plugin does not load the server at all if there are no sites on the map and only slightly loads when they are (in this case, only events will hooked). This is due to the fact that the capabilities of the game engine itself are used, and not the interception of keystrokes.

    CVars:
    • sm_rpb_version - Plugin version
    • sm_rpb_plant - Block plant: -1 - random, 0 - 'A', 1 - 'B'
    • sm_rpb_players - Minimum players to unlock all sites

    Source file at Github
    __________________

    Last edited by Grey83; 12-15-2022 at 10:59. Reason: Fixed the definition of the name of the site
    Grey83 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 12-30-2021 , 08:01   Random plant blocker 1.0.1 [2021/12/29]
    Reply With Quote #2

    Changes v1.0.1 [2021/12/29]:
    • Added warning output to HUD (be sure to update the translation file).
    • Fixed error "Exception reported: Invalid hook callback specified for game event"
    • I suppose so fixed the troubles with the bombsites.
    __________________

    Last edited by Grey83; 12-15-2022 at 11:01.
    Grey83 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 12-15-2022 , 11:01   Re: Random plant blocker 1.0.2 [2022/12/13]
    Reply With Quote #3

    Changes v1.0.2 [2022/12/13]:
    • Fixed the definition of the name of the site.
      Will now write the correct site name on any map.
    __________________
    Grey83 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 22:33.


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