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

[L4D2] Level Start Heal - Start Next Level With Full HP v2.4【2024-03-12】


Post New Thread Reply   
 
Thread Tools Display Modes
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
8256
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 10-29-2022 , 10:54   [L4D2] Level Start Heal - Start Next Level With Full HP v2.4【2024-03-12】
    Reply With Quote #1

    Description
    • Heal survivor to full hp(or custom) and clear thirdstrike effect every level start/new survivor character join.

    Cvars
    PHP Code:
    // how many health to heal on level start
    // -
    // Default: "100"
    // Minimum: "1.000000"
    level_start_heal_health "100" 
    Forwards
    Spoiler


    Change log
    Spoiler
    Attached Files
    File Type: inc level_start_heal.inc (560 Bytes, 6 views)
    File Type: sp Get Plugin or Get Source (level_start_heal.sp - 19 views - 6.6 KB)

    Last edited by little_froy; 03-16-2024 at 08:11.
    little_froy is offline
    xerox8521
    Senior Member
    Join Date: Sep 2011
    Old 10-29-2022 , 11:54   Re: [L4D2] Level Start Heal - Start Next Level With Full Hp v1.0.3【2022-10-29】
    Reply With Quote #2

    As with the other plugin you could set "First" to true, which is not really descriptive, in OnClientPutInServer and on Spawn you could set the health (if "First" is true) instead of using a game frame loop.
    xerox8521 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 01:40.


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