Garry's Mod

Garry's Mod

Ammo Dropper
72 kommenttia
screwdriver lobotomy 27.11.2022 klo 22.48 
I get this error when I try to quick drop:
[Ammo Dropper] lua/autorun/client.lua:149: attempt to index a nil value
1. QuickDrop - lua/autorun/client.lua:149
2. unknown - lua/autorun/client.lua:157
3. unknown - lua/includes/modules/concommand.lua:54
TexasOmertosa 29.9.2022 klo 21.49 
nice
Syele 14.5.2022 klo 4.42 
Can you make it compatitable with custom ammo types, I wanna be able to drop "medkit ammo" when Im playing with someone but the ammo type doesnt show up in the menu
мурмур)) 4.4.2022 klo 13.50 
Hello, I want to praise for this addon! But I still got a problem. I've looked at the lua files but haven't found anything related to the server command. I want to ask, does this addon support a command for the server? I'm not interested in the menu, but here I would like to throw out ammunition after death and with the help of the command
cigo 24.7.2021 klo 4.17 
It'd be great if you could get CW support.
Jamesinator 11.6.2021 klo 7.43 
Super underrated really well done Addon. great work but I have one question. IK that changing to darkrp boxes lets you drop any random amount of ammo instead of the set 45 for SMG1. But is there any way to make the darkrp box look like the HL2 supply box? that would look alot cooler.
Truescreen 1.4.2021 klo 4.25 
Would it be possible to condense the ammo boxes that spray out of the player in all directions into a single entity? Like a backpack that gets dropped by the player containing all their ammo?
slav egg 23.3.2021 klo 23.09 
How to disable drop on death?
Gake 20.1.2021 klo 19.34 
Would it be possible to add functionality for dropping weapons too?
Professional Autist 1.1.2021 klo 10.49 
i have errors even with out any mods does it still even work?
Shootist 8.12.2019 klo 0.23 
Really liking the add-on. Makes feel good to be able to drop ammo for a friend in a a fight.
>KB> >KEKSQUAD 28.11.2019 klo 6.56 
[Ammo Dropper] lua/autorun/shared.lua:341: attempt to index local 'data' (a nil
value)
1. GetMaxDropAmt - lua/autorun/shared.lua:341
2. OnRowSelected - lua/autorun/client.lua:97
3. OnClickLine - lua/vgui/dlistview.lua:429
4. unknown - lua/vgui/dlistview_line.lua:81

Still an issue when opening the ammodropper_menu. I can't adjust any of the sliders.
8Z  [tekijä] 27.11.2019 klo 15.47 
I've cleaned up a lot of the code and removed most of the custom ammo entities.

DarkRP style ammo boxes are now default, and they should support every ammo type (including CW2, etc). Highly recommend using them.
SynthWave 15.8.2019 klo 1.43 
i hope someone will read this
SynthWave 15.8.2019 klo 1.42 
plz help me when i type ammodropper_menu in console nothing happens same with bind
Lincy 17.5.2019 klo 3.32 
Hello. I really love this mod.

Is there happen a way where... players can just pickup ammunition from dropped weapons (like after killing an NPC or killing players) instead of grabbing the whole weapon you just picked up?

I really love to see that one.
Uklejamini 19.4.2019 klo 6.25 
4.5 stars
TheHopelessThrumbo 17.4.2019 klo 9.18 
Is it possible to read what ammunition the player has, and include it no matter it's unknown type?
HeavyMedic 28.10.2018 klo 2.11 
5 stars
Ejou 11.6.2018 klo 12.51 
Can you pleeeeeease add more CW 2.0 ammo types into ammo dropper? Like from "Extra CW 2.0"?
Vladimir Vladimirovich 2.6.2018 klo 2.20 
pls make no-colide option for admins, like if im type ammodropper_nocolide 1, any dropped amo will be w/o collide, because on servers, people can abuse your addon to crash
8Z  [tekijä] 24.4.2018 klo 19.04 
@iron_fox Can you try again after the update? If this still happens, please check if there are any errors in console, and post a comment in the bug reporting thread if it persists.
Aleksander3453 24.4.2018 klo 7.22 
Woah nice! I am going to try it now.
8Z  [tekijä] 24.4.2018 klo 7.00 
By "within a month", I mean today! An huge update is released, adding CW2.0 support, death ammo drop, an options menu and more stuff!
8Z  [tekijä] 24.4.2018 klo 3.56 
I'm in the process of updating this addon. The new version will support multiple types of boxes (small and large), CW2.0 ammo, and death dropping. Estimated arrival date is within a month, sorry for the delay!
Ribbit 15.12.2017 klo 18.33 
just a suggestion but can you add ammo drop upon death?
Maxpowerammo 10.12.2017 klo 23.06 
ammodropper_quickdrop doesn't seem to work with AR2, SMG, or SLAM ammo.
zql9843 1.12.2017 klo 22.45 
Can you make NPC drop ammo rather than weapons?
DeWomanizer 9000 25.11.2017 klo 20.48 
Interesting, but very buggy, has a lot of conflicts with other not bad addons, spams errors in console-need in improvement.
8Z  [tekijä] 1.11.2017 klo 18.36 
An update has been released, adding the feature to drop ammo for the weapon you are holding. The ConCommands are ammodropper_quickdrop and ammodropper_quickdrop_all (all ammo for the weapon you hold).
8Z  [tekijä] 1.11.2017 klo 18.14 
@Maxpowerammo That can be done.
8Z  [tekijä] 1.11.2017 klo 18.14 
@Hackcraft There IS a check on ammo count. You might have realized this if you have went through the code before calling me out.

Maxpowerammo 30.8.2017 klo 1.42 
Another cool option would be use-only health and armor entities. Sometimes I've only taken 4 damage and don't want to use up a 25 hp medkit, especially if one of my buddies needs it more.
Zak 28.8.2017 klo 16.57 
Why haven't you added a check to make sure the player even has the ammo to drop in the first place.

"Everything is serverside secured; players cannot exploit this addon in a Roleplay server. (Unless you have enabled clientside lua, in which case you deserve it)" - Just learn to code instead.
Maxpowerammo 22.8.2017 klo 20.18 
Could you create a command that drops one ammo of your currently held gun? This way I could quickly give ammo to someone who needs it without having to fool around in the menu.
BrainyPepper 20.8.2017 klo 14.19 
I'm posting a screencap of my two comments somewhere it can be answered. Wish me luck.
BrainyPepper 20.8.2017 klo 14.15 
Understandible. Have a nice day.
8Z  [tekijä] 20.8.2017 klo 8.42 
Interesting suggestions, though I can imagine both of these ideas of being techinically challenging to do.
I'm rather occupied with my personal life right now, but perhaps someone else can use the idea.
BrainyPepper 19.8.2017 klo 15.40 
Alternatively, I had an idea for an addon that expands interactivity by prompting a player for how they would interact with something; a small window would open above an interactible when +USE is employed unto them, prompting something along the lines of 'LClick to use / RClick to pick up / E to cancel'. These two (this comment, and my comment below this one) ideas are ones I have been dwelling on for a while, but haven't been able to create. I have nothing else to do with them, I guess.
BrainyPepper 19.8.2017 klo 15.34 
I have an idea for a simple but effective addon, if you're willing. Ideally, crouching should activate for players when they are swimming, as the only change crouching in water makes is that one can swim lower; neither the animation nor swimming speed changes. It always disturbed/disturbs me that the walking collisionbox is the same as the swimming collisionbox, is all.
Hoshino✨ 11.8.2017 klo 20.10 
好好好,腐竹加进服务器呗
BrainyPepper 4.8.2017 klo 10.58 
Good.
8Z  [tekijä] 3.8.2017 klo 16.57 
@Miga Smull the buckshot duplication bug has been fixed. I have verified that 357 and XBowBolt ammo does not duplicate.
BrainyPepper 3.8.2017 klo 13.50 
I think it's the majority of them, but I'm not sure due to my history of a bad memory. I'm quite sure that .357 rounds, generic shotgun ammo, and rebar ammo (crossbow bolts) duplicate like this.
8Z  [tekijä] 2.8.2017 klo 20.58 
@miga Smull which ammo is able to be cloned?
Aleksander3453 2.8.2017 klo 10.58 
@Miga Smull
Yeah, I just noticed that the buckshot (shotgun) ammo is STILL having problems.
I think that we are dropping 8 buckshot ammo, but picking up 20 of them.
BrainyPepper 2.8.2017 klo 10.37 
There seems to be an exploit involving dropping ammo and picking it up again to duplicate ammount. I don't know if it's RPGXGM doing that (I don't even have an ammo-pickup multiplier perk yet) or something else.
8Z  [tekijä] 28.7.2017 klo 12.09 
@OneGeyFan2311 An update has been pushed that solves this problem. The entity name for shotgun ammo was incorrect ( item_box_buckshot is the correct name ).
8Z  [tekijä] 28.7.2017 klo 11.57 
@OneGeyFan2311 I'll look into it.
Aleksander3453 27.7.2017 klo 11.45 
And sorry if i keep commenting but... I got a bug, nobody can drop ammo for the shotgun, and i get this in the console.
Attempted to create unknown entity type ammo_buckshot_small!