Raised This Month: $ Target: $400
 0% 

[L4D2] Clear Survivor dead body (v1.1, 2021-03-08)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Plugin ID:
7213
Plugin Version:
1.1
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    [L4D2] Clear Survivor dead body
    Old 07-20-2020 , 14:29   [L4D2] Clear Survivor dead body (v1.1, 2021-03-08)
    Reply With Quote #1

    Description:
    Remove survivor dead body entity in seconds after player dies.


    Reason for creation:
    My server always has more than 20 players,
    (1) player dies and respawns over and over again during the game => create lots of dead bodies.
    (2) a dead player changes team or leaves the game and his bot was kicked => dead body still exists.
    (3) nobody uses defib => dead body behind

    It causes too many dead body model entitiy on the ground.
    The total number of map entities is too large, so write this plugin to reduce the possibility of server crashes.

    -Convar-
    Spoiler


    Changes:
    Code:
    Changes:
    1.1 (2021-3-8)
        - check IsValidEntityIndex in OnEntityCreated and request a frame safely.
    
    1.0 (2020-7-21)
        - Initial release.
    -Github-
    Latest version always here
    Attached Files
    File Type: sp Get Plugin or Get Source (clear_dead_body.sp - 613 views - 2.2 KB)
    __________________

    Last edited by HarryPotter; 03-08-2021 at 05:44.
    HarryPotter 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 04:13.


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