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

[L4D] Health


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Aya Supay
Member
Join Date: Nov 2015
Plugin ID:
6565
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    HP of survivor to set in the round.
    Old 05-10-2019 , 13:22   [L4D] Health
    Reply With Quote #1

    Description:

    HP of survivor to set in the round.

    Commands:

    Nothing.

    Settings (ConVars):

    "l4d_health_control" - HP of survivor to set

    Thank you!

    My Friend Alex Dragokas for code
    Attached Files
    File Type: sp Get Plugin or Get Source ([L4D] Health.sp - 1073 views - 2.4 KB)
    Aya Supay is offline
    KRUTIK
    Senior Member
    Join Date: Feb 2019
    Location: Мос
    Old 05-17-2019 , 08:35   Re: [L4D] Health
    Reply With Quote #2

    Will it work in L4D2?
    KRUTIK is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 05-17-2019 , 21:56   Re: [L4D] Health
    Reply With Quote #3

    Quote:
    Originally Posted by KRUTIK View Post
    Will it work in L4D2?
    Code:
    public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)
    {
    	EngineVersion test = GetEngineVersion();
    	if (test != Engine_Left4Dead) {
    		strcopy(error, err_max, "Plugin only supports Left 4 Dead 1.");
    		return APLRes_SilentFailure;
    	}
    	return APLRes_Success;
    }
    A terrible plugin design, the plugin will function properly in L4D2, but it will refuse to function in L4D2 because the creator of this plugin decided that it won't work in L4D2.

    P.S: this plugin will also work in CS:GO and possibly CS:S, but instead of "survivors" it'll heal the Terrorist team.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    eyeonus
    Member
    Join Date: Jul 2009
    Old 01-13-2021 , 21:34   Re: [L4D] Health
    Reply With Quote #4

    This'll work in L4D2.
    Attached Files
    File Type: sp Get Plugin or Get Source ([L4D] Health.sp - 520 views - 2.5 KB)
    eyeonus is offline
    Wolfyy
    Junior Member
    Join Date: Nov 2020
    Old 08-20-2021 , 10:34   Re: [L4D] Health
    Reply With Quote #5

    Quote:
    Originally Posted by eyeonus View Post
    This'll work in L4D2.

    Unfortunately there is always full life when a player joins a bot or comes back from a spectator.
    I observe the same problem with all these plugins, even if they have built in the function that life points are saved.
    Any idea how to fix that?
    Wolfyy is offline
    Hawkins
    Senior Member
    Join Date: Jul 2021
    Old 09-28-2021 , 12:03   Re: [L4D] Health
    Reply With Quote #6

    Quote:
    Originally Posted by Wolfyy View Post
    Unfortunately there is always full life when a player joins a bot or comes back from a spectator.
    I observe the same problem with all these plugins, even if they have built in the function that life points are saved.
    Any idea how to fix that?
    Someone please fix it.
    Hawkins is offline
    arclightarchery
    Junior Member
    Join Date: May 2022
    Old 05-17-2022 , 00:45   Re: [L4D] Health
    Reply With Quote #7

    Quote:
    Originally Posted by Hawkins View Post
    Someone please fix it.
    Here you go, the only (probably) bug is if you set your survivor_limp_health above 100, the HP bar will turn yellow when you lose health
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_health.sp - 327 views - 3.9 KB)
    arclightarchery 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 19:25.


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