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

[L4D2] Independent Magnum Max Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author
iaNanaNana
Member
Join Date: Sep 2020
Location: Two-dimensional
Plugin ID:
7813
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Add ConVar "ammo_magnum_max" to control magnum's ammo limitation.
    Old 10-05-2021 , 05:50   [L4D2] Independent Magnum Max Ammo
    Reply With Quote #1

    Add ConVar "ammo_magnum_max" to control magnum's ammo limitation.
    Tested for normal on Win and Linux



    Required Extension : DHooks (Dynamic Hooks)




    Changes:
    Code:
    1.0
    	- Initial release
    Attached Files
    File Type: zip l4d2_magnum_max_ammo.zip (6.2 KB, 425 views)

    Last edited by iaNanaNana; 10-05-2021 at 06:03.
    iaNanaNana is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 10-06-2021 , 11:31   Re: [L4D2] Independent Magnum Max Ammo
    Reply With Quote #2

    This is cool. Nice work! I’ve been wondering how to pull this off for awhile now.
    __________________
    Psyk0tik is offline
    kalmas77
    Junior Member
    Join Date: Sep 2021
    Old 01-10-2022 , 12:34   Re: [L4D2] Independent Magnum Max Ammo
    Reply With Quote #3

    Hi, Where is the ConVar option? I search for a cfg file as usual, but I can't find it.
    kalmas77 is offline
    iaNanaNana
    Member
    Join Date: Sep 2020
    Location: Two-dimensional
    Old 01-17-2022 , 06:26   Re: [L4D2] Independent Magnum Max Ammo
    Reply With Quote #4

    Quote:
    Originally Posted by kalmas77 View Post
    Hi, Where is the ConVar option? I search for a cfg file as usual, but I can't find it.
    It don't have cfg file, but you can add the ConVar to any cfg file that can auto exec.
    iaNanaNana is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 01-17-2022 , 07:42   Re: [L4D2] Independent Magnum Max Ammo
    Reply With Quote #5

    Just add AutoExecConfig to the main plugin code after the cvar creation and it will create a CFG file for you.

    PHP Code:
    AutoExecConfig(true"l4d2_magnum_max_ammo"); 
    Is a good practise btw
    __________________

    Last edited by Marttt; 01-17-2022 at 07:43.
    Marttt is offline
    Reply



    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:42.


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