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

[L4D2] Medicine Health Buffer v1.5【2024-02-17】


Post New Thread Reply   
 
Thread Tools Display Modes
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
8461
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 05-14-2023 , 12:18   [L4D2] Medicine Health Buffer v1.5【2024-02-17】
    Reply With Quote #1

    Description
    • after use medicine, if sum of health lower than the custom value, add health buffer to it.

    Cvars
    PHP Code:
    // 0 = disable, 1 = enable pain pills, 2 = enable adrenaline, 4 = enable first aid kit. add numbers together
    // -
    // Default: "3"
    // Minimum: "0.000000"
    // Maximum: "7.000000"
    medicine_health_buffer_enable "3"

    // if adrenaline used health lower than this value, add health buffer to it
    // -
    // Default: "55.2"
    // Minimum: "1.000000"
    medicine_health_buffer_max_health_adrenaline "55.2"

    // if first aid kit used health lower than this value, add health buffer to it
    // -
    // Default: "100.2"
    // Minimum: "1.000000"
    medicine_health_buffer_max_health_medkit "100.2"

    // if pain pills used health lower than this value, add health buffer to it
    // -
    // Default: "80.2"
    // Minimum: "1.000000"
    medicine_health_buffer_max_health_pills "80.2" 
    Change log
    Spoiler
    Attached Files
    File Type: sp Get Plugin or Get Source (medicine_health_buffer.sp - 37 views - 5.3 KB)

    Last edited by little_froy; 02-16-2024 at 12:58.
    little_froy 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 14:50.


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