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

[L4D1/2] Limited Ammo Piles - 1.2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Thraka
AlliedModders Donor
Join Date: Aug 2005
Plugin ID:
1410
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    Once everyone has used the same ammo pile at least once, it is removed.
    Old 01-17-2010 , 16:32   [L4D1/2] Limited Ammo Piles - 1.2
    Reply With Quote #1

    This will delete the ammo pile entity once each survivor has used it at least once. The last person that uses it will receive a message stating the ammo pile has been depleted.

    This should work with l4d1, but I only tested with l4d2.

    Todo
    - Block someone from using the pile after they've used it once (or after they've taken X ammo)

    CVARS
    l4d_limited_ammo_pile_ver - Version of the plugin
    l4d_limited_ammo_pile_on - If the Limited Ammo Piles plugin is on or off

    History
    1.2
    - Added a check to see if entity was valid edict when the use event fired.

    1.1
    - Stops processing ammo pile data if the map is in the finale. (Checks for the presence of the trigger_finale entity on the map)

    1.02:
    - Fixed usage of on\off. Variable existed, but wasn't used

    1.01:
    - Added cvar for toggling plugin on off
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d1-2_limited_ammo_pile.sp - 4277 views - 5.2 KB)

    Last edited by Thraka; 12-08-2010 at 19:20.
    Thraka 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 07:24.


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