Raised This Month: $51 Target: $400
 12% 

[NMRiH] Clear map 1.2.0 [2016/09/15]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
4593
Plugin Version:
1.2.0
Plugin Category:
Admin Commands
Plugin Game:
No More Room in Hell
Plugin Dependencies:
    Servers with this Plugin:
    39 
    Plugin Description:
    Remove unnecessary items & zombies from the map.
    Old 04-10-2015 , 19:25   [NMRiH] Clear map 1.2.0 [2016/09/15]
    Reply With Quote #1

    Name: Clear map

    Description: Remove unnecessary items (weapons, tools, explosives and medical supplies not in the player's inventory) & zombies from the map.
    Useful for maps with lots of waves (like nms_bunkerdefense and nms_testone), which drops a lot of things from the dead zombies and may cause an overflow limit edicts («Ed_alloc: No Free Edicts»).
    Especially when used the plugins like Weapon Menu, Infinite Ammo and Full Infinite Ammo on the server.

    Installation: Place compiled plugin (nmrih_clear_map.smx) into the plugins folder (../addons/sourcemod/plugins/).
    For compiling need SM1.8_stable

    AdminCommands:
    • sm_clear - Manual remove unnecessary items from the map (weapons, ammo, tools and medical supplies).
    • sm_nonpcs - Manual remove zombies from the map.
    • sm_count - Shows the number of items and the zombies on the map.

    Console Variables:
    • sm_clear_map_report - On/Off report after clearing map in the server console & the game chat (only to one who caused the cleaning).
    • sm_clear_map_timer - Time (every X seconds after the start of the round), which will be checked a number of items and they will be removed. 0 - disable timer, 1 and more - enable timer
    • sm_clear_map_limit - The maximum number of items (counted only weapons, tools, explosives and medical supplies not in the player's inventory) that will be removed unnecessary items from the map.
    Name:  Clear map 1.jpg
Views: 4538
Size:  21.4 KB
    Name:  Clear map 2.jpg
Views: 4522
Size:  29.8 KB
    Click image for larger version

Name:	Clear map 3.png
Views:	905
Size:	48.1 KB
ID:	149785

    Changes in v1.1.0 (2015/11/15):
    • Automatic cleaning map by timer from the new items in excess of a certain limit (set by the plugin CVars).
    Changes in v1.2.0 (2016/09/15):
    • Small fixes
    • Added command «sm_count»
      Name:  sm_count.jpg
Views: 3578
Size:  10.2 KB
    • Rewritten using the new syntax (1.7+)
    Attached Files
    File Type: sp Get Plugin or Get Source (nmrih_clear_map.sp - 1210 views - 3.0 KB)
    File Type: sp Get Plugin or Get Source (nmrih_clear_map 1.1.sp - 1101 views - 4.9 KB)
    File Type: sp Get Plugin or Get Source (nmrih_clear_map 1.2.0.sp - 1724 views - 6.0 KB)
    __________________

    Last edited by Grey83; 09-15-2016 at 07:26. Reason: New version
    Grey83 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 09:34.


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