Raised This Month: $95 Target: $400

[CSS] ReserveAmmoSetter

Post New Thread Reply   
Thread Tools Display Modes
Senior Member
Join Date: May 2009
Location: korea, republic of
Plugin ID:
Plugin Version:
Plugin Category:
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    make you able to have separated reserved ammo for guns that sharing ammo type. make you able to config amount of reserved ammo for each guns.
    Old 12-16-2012 , 16:55   [CSS] ReserveAmmoSetter
    Reply With Quote #1


    did you wanted to have separated reserved ammos for mp5 and glock?
    did you wanted to have separated reserved ammos for fiveseven and p90?
    did you wanted to have 400 ammos for p90 and 120 ammos for fiveseven?
    this plugin is for that!
    even through this plugin is small, i had hard time to fix all the bugs while making this plugin...


    this plugin needs the things listed below to work:
    • SDKHooks


    to install this plugin
    • put the smx file in the sourcemod/plugins folder
    • put these configs in server.cfg and besure those are not overrided by any other config file or plugins.
      ammo_338mag_max 0;
      ammo_357sig_max 0;
      ammo_45acp_max 0;
      ammo_50AE_max 0;
      ammo_556mm_box_max 0;
      ammo_556mm_max 0;
      ammo_57mm_max 0;
      ammo_762mm_max 0;
      ammo_9mm_max 0;
      ammo_buckshot_max 0;
    • put reserveammosetter.txt in your sourcemod/configs/reserveammosetter/ folder
    to compile this plugin manually
    • put sp file in the sourcemod/scripting folder
    • put every include files needed for this plugin into the sourcemod/scripting/include folder
    • compile.


    to config this plugin, you need to open the reserveammosetter.txt that you placed in
    sourcemod/configs/reserveammosetter/ folder.
    be careful when you edit this file, because i didnt made a good paser code, putting any whitespace character
    can cause problems while parsing. default values of config file is intended to work in classic server with RealisticReload plugin on here https://forums.alliedmods.net/showthread.php?p=1424074

    Known Bugs & Limits Of the Mod

    because of the way how this plugin work, this plugin will override reserved ammo`s amount that is placed on map.
    this includes guns that is spawned by other plugin.
    while using this plugin, you cannot buy ammos with buyammo commands in css.(i am thinking to add command support.)
    this plugin will make a little predict error to reserved ammos but its not a big problem.

    Special Thanks To

    i want to say thanks to these guys
    • someone whom will get interested on my plugin and use this.

    Change Log

    all the date`s format is y/m/d
    update at 2012 12 22(ver
    • changed code to have better look. it needs latest sm snapshot to work without bug.
    • changed default config of reserved ammos for guns a bit.
    update at 2012 12 17(ver
    • released
    Attached Files
    File Type: zip ReserveAmmoSetter( (8.7 KB, 114 views)
    File Type: zip ReserveAmmoSetter( (8.7 KB, 356 views)

    Last edited by javalia; 12-21-2012 at 17:12.
    javalia is offline
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 01-07-2014 , 16:06   Re: [CSS] ReserveAmmoSetter
    Reply With Quote #2

    Good work! I just wanted to create something similar, good that I found this plugin just now
    BTW I think it will work for any game.

    dodsplugins.com - Plugins and Resources for Day of Defeat
    Root_ is offline

    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 11:16.

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