Raised This Month: $ Target: $400
 0% 

[L4D2] Custom Reserve Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author
zzhlmy
Junior Member
Join Date: Jan 2019
Plugin ID:
7349
Plugin Version:
1.0.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    [L4D2] Custom Reserve Ammo
    Old 10-22-2020 , 10:45   [L4D2] Custom Reserve Ammo
    Reply With Quote #1

    Hey guys, this plugin can customize reserved ammo in L4D2, enjoy it.

    Update link:https://github.com/ZZHLMY/L4D2_CustomReserveAmmo
    Attached Files
    File Type: zip L4D2_CustomReserveAmmo.zip (12.4 KB, 65 views)

    Last edited by zzhlmy; 10-26-2020 at 10:25. Reason: Add m60 and grenade_launcher, fix error
    zzhlmy is offline
    HarryPotter
    Senior Member
    Join Date: Sep 2017
    Location: TW
    Old 10-23-2020 , 04:11   Re: L4D2 Custom Reserve Ammo
    Reply With Quote #2

    Good Job!
    You can add theses remaining weapons.
    PHP Code:
    weapon_grenade_launcher
    weapon_rifle_m60 
    __________________
    HarryPotter is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 10-23-2020 , 09:00   Re: L4D2 Custom Reserve Ammo
    Reply With Quote #3

    Got this error
    L 10/23/2020 - 004:57: SourceMod error session started
    L 10/23/2020 - 004:57: Info (map "c1m2_streets") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20201023.log")
    L 10/23/2020 - 004:57: [SM] Exception reported: Element -1 is out of bounds (Prop m_iAmmo has 32 elements).
    L 10/23/2020 - 004:57: [SM] Blaming: L4D2_CustomReserveAmmo.smx
    L 10/23/2020 - 004:57: [SM] Call stack trace:
    L 10/23/2020 - 004:57: [SM] [0] GetEntProp
    L 10/23/2020 - 004:57: [SM] [1] Line 305, C:\Users\kruff\OneDrive\Desktop\L4D2_CustomRe serveAmmo-main\addons\sourcemod\scripting\L4D2_CustomRe serveAmmo.sp::SetLastReserveAmmo
    L 10/23/2020 - 004:57: [SM] [2] Line 160, C:\Users\kruff\OneDrive\Desktop\L4D2_CustomRe serveAmmo-main\addons\sourcemod\scripting\L4D2_CustomRe serveAmmo.sp::OnWeaponEquipPost
    L 10/23/2020 - 004:57: [SM] [4] EquipPlayerWeapon
    L 10/23/2020 - 004:57: [SM] [5] Line 557, /home/forums/content/files/9/7/2/5/7/175547.attach::SwapItem
    L 10/23/2020 - 004:57: [SM] [6] Line 505, /home/forums/content/files/9/7/2/5/7/175547.attach:rocess
    L 10/23/2020 - 004:57: [SM] [7] Line 417, /home/forums/content/files/9/7/2/5/7/175547.attach::OnPlayerRunCmd
    L 10/23/2020 - 00:42:25: Error log file session closed.
    Krufftys Killers is offline
    zzhlmy
    Junior Member
    Join Date: Jan 2019
    Old 10-26-2020 , 06:24   Re: L4D2 Custom Reserve Ammo
    Reply With Quote #4

    Quote:
    Originally Posted by Krufftys Killers View Post
    Got this error
    L 10/23/2020 - 004:57: SourceMod error session started
    L 10/23/2020 - 004:57: Info (map "c1m2_streets") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20201023.log")
    L 10/23/2020 - 004:57: [SM] Exception reported: Element -1 is out of bounds (Prop m_iAmmo has 32 elements).
    L 10/23/2020 - 004:57: [SM] Blaming: L4D2_CustomReserveAmmo.smx
    L 10/23/2020 - 004:57: [SM] Call stack trace:
    L 10/23/2020 - 004:57: [SM] [0] GetEntProp
    L 10/23/2020 - 004:57: [SM] [1] Line 305, C:\Users\kruff\OneDrive\Desktop\L4D2_CustomRe serveAmmo-main\addons\sourcemod\scripting\L4D2_CustomRe serveAmmo.sp::SetLastReserveAmmo
    L 10/23/2020 - 004:57: [SM] [2] Line 160, C:\Users\kruff\OneDrive\Desktop\L4D2_CustomRe serveAmmo-main\addons\sourcemod\scripting\L4D2_CustomRe serveAmmo.sp::OnWeaponEquipPost
    L 10/23/2020 - 004:57: [SM] [4] EquipPlayerWeapon
    L 10/23/2020 - 004:57: [SM] [5] Line 557, /home/forums/content/files/9/7/2/5/7/175547.attach::SwapItem
    L 10/23/2020 - 004:57: [SM] [6] Line 505, /home/forums/content/files/9/7/2/5/7/175547.attach:rocess
    L 10/23/2020 - 004:57: [SM] [7] Line 417, /home/forums/content/files/9/7/2/5/7/175547.attach::OnPlayerRunCmd
    L 10/23/2020 - 00:42:25: Error log file session closed.
    okay, thanks for reply the error, I'll fix it soon
    zzhlmy is offline
    zzhlmy
    Junior Member
    Join Date: Jan 2019
    Old 10-26-2020 , 10:34   Re: L4D2 Custom Reserve Ammo
    Reply With Quote #5

    Quote:
    Originally Posted by HarryPotter View Post
    Good Job!
    You can add theses remaining weapons.
    PHP Code:
    weapon_grenade_launcher
    weapon_rifle_m60 
    weapon_grenade_launcher and weapon_rifle_m60 has been added now
    zzhlmy is offline
    Reply


    Thread Tools
    Display Modes

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


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