Raised This Month: $52 Target: $400
 13% 

[CS:GO] Health Bar Animated Sprite


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pericles
New Member
Join Date: Nov 2018
Plugin ID:
6344
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Show a health bar above the last enemy's head who you damaged
    Old 11-22-2018 , 01:16   [CS:GO] Health Bar Animated Sprite
    Reply With Quote #1

    Sorry if bad english.
    Sorry if there is another one similar, I didn't find one.
    It's my first mod hope it goes well, otherwise sorry

    Health Bars
    Version 1.2

    Cvars:
    • hpbar2_time <int> - Time that the enemy's health bar is showed in seconds (Default : 2)
    Screenshots:

    Installation:

    Notes:

    Change log:
    Attached Files
    File Type: zip HPbar2_v1.2 .zip (11.3 KB, 178 views)

    Last edited by pericles; 11-23-2018 at 14:18.
    pericles is offline
    raj kaul
    Senior Member
    Join Date: Mar 2018
    Location: India Mumbai
    Old 11-22-2018 , 01:19   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #2

    nice
    __________________
    raj kaul is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 11-22-2018 , 02:36   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #3

    You don't need to set the player's targetname to set it's parent...
    https://github.com/MitchDizzle/Advan...p.sp#L365-L368
    __________________
    Mitchell is offline
    pericles
    New Member
    Join Date: Nov 2018
    Old 11-22-2018 , 03:08   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #4

    Quote:
    Originally Posted by Mitchell View Post
    You don't need to set the player's targetname to set it's parent...
    https://github.com/MitchDizzle/Advan...p.sp#L365-L368
    Hello o/.
    Didn't know that one. Thanks very much, it works great. =)

    Last edited by pericles; 11-22-2018 at 03:26.
    pericles is offline
    NanoC
    Senior Member
    Join Date: Jan 2016
    Location: Argentina
    Old 11-22-2018 , 05:50   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #5

    nice plugin
    __________________
    My plugins || Steam || Discord: nano#7638 || Donate via PayPal!
    Total donated: $139
    NanoC is offline
    Send a message via Skype™ to NanoC
    _GamerX
    AlliedModders Donor
    Join Date: Jun 2011
    Location: Fun Server
    Old 11-22-2018 , 09:45   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #6

    Noice
    __________________
    _GamerX is offline
    Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
    ae86
    Junior Member
    Join Date: Feb 2017
    Old 11-23-2018 , 21:05   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #7

    Hello ,

    L 11/23/2018 - 150:51: [SM] Exception reported: Entity -1 (-1) is not a CBaseEntity
    L 11/23/2018 - 150:51: [SM] Blaming: HPbar2.smx
    L 11/23/2018 - 150:51: [SM] Call stack trace:
    L 11/23/2018 - 150:51: [SM] [0] AcceptEntityInput
    L 11/23/2018 - 150:51: [SM] [1] Line 91, HPbar2.sp::HideHPbar
    L 11/23/2018 - 150:51: [SM] [2] Line 64, HPbar2.sp:layerHurt_Event
    ae86 is offline
    pericles
    New Member
    Join Date: Nov 2018
    Old 11-23-2018 , 23:34   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #8

    Quote:
    Originally Posted by ae86 View Post
    Hello ,

    L 11/23/2018 - 150:51: [SM] Exception reported: Entity -1 (-1) is not a CBaseEntity
    L 11/23/2018 - 150:51: [SM] Blaming: HPbar2.smx
    L 11/23/2018 - 150:51: [SM] Call stack trace:
    L 11/23/2018 - 150:51: [SM] [0] AcceptEntityInput
    L 11/23/2018 - 150:51: [SM] [1] Line 91, HPbar2.sp::HideHPbar
    L 11/23/2018 - 150:51: [SM] [2] Line 64, HPbar2.sp:layerHurt_Event
    Hi o/.
    Thanks for the report, I'm sorry to hear that.
    Had you installed last version (1.2)? I added if(Entity !=-1) trying to fix that kind of errors.

    Last edited by pericles; 11-24-2018 at 00:45.
    pericles is offline
    ae86
    Junior Member
    Join Date: Feb 2017
    Old 11-24-2018 , 02:40   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #9

    Quote:
    Originally Posted by pericles View Post
    Hi o/.
    Thanks for the report, I'm sorry to hear that.
    Had you installed last version (1.2)? I added if(Entity !=-1) trying to fix that kind of errors.
    The 1.2 seems to work perfectly now.
    Thank you.
    ae86 is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 03-03-2019 , 09:39   Re: [CS:GO] Health Bar Animated Sprite
    Reply With Quote #10

    l4d2 version.

    download:
    https://forums.alliedmods.net/showthread.php?t=69005
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_HPbar.sp - 79 views - 5.9 KB)

    Last edited by AK978; 03-03-2019 at 09:40.
    AK978 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:58.


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