This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[L4D2]Defib_Fix[Left 4 Fix][28/02/2023]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Plugin ID:
6512
Plugin Version:
2.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1025 
    Plugin Description:
    Fixes valve's defib not defibbing correct survivor, sometimes even reviving an alive player
    Old 04-10-2019 , 15:55   [L4D2]Defib_Fix[Left 4 Fix][28/02/2023]
    Reply With Quote #1

    Fixes defib getting wrong targets and reviving alive players, this is semiport of this extension. This exists because of issues with current fix with extension, https://forums.alliedmods.net/showpo...3&postcount=13

    Fixes oversight of being set dependent in old version, and allows reviving any character type 0 - 9 (maybe higher never tested above 9 "m_survivorCharacter")

    Credit to V10 and maintainers of defibfix extension.

    Defib order for revive
    1. Owner of dead body if dead
    2. Anyone of same character if dead
    3. Anyone if dead

    RepoLink

    PHP Code:
    /**
    *    @Note only called if Defib_Fix is installed
    *    
    *    Deathmodels are "survivor_death_model" that can be used with defibrillator.
    *
    *    @param    iClient        Client Index who died.
    *    @param    iDeathModel    Entity Index of Deathmodel for client who died
    *    @no return
    */
    forward void L4D2_OnSurvivorDeathModelCreated(int iClientint iDeathModel); 

    Installation:

    1.Important If you use DefibFix extension REMOVE IT.
    2.Download the .zip file.
    3.Merge with \addons\ folder.
    4.Restart the server.
    Attached Files
    File Type: zip Defib_Fix.zip (11.1 KB, 2632 views)
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 02-28-2023 at 07:40.
    Lux is offline
     



    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 16:29.


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