Garry's Mod

Garry's Mod

Ammo Dropper
72 則留言
screwdriver lobotomy 2022 年 11 月 27 日 下午 10: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 2022 年 9 月 29 日 下午 9:49 
nice
Syele 2022 年 5 月 14 日 上午 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
мурмур)) 2022 年 4 月 4 日 下午 1: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 2021 年 7 月 24 日 上午 4:17 
It'd be great if you could get CW support.
Jamesinator 2021 年 6 月 11 日 上午 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 2021 年 4 月 1 日 上午 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 2021 年 3 月 23 日 下午 11:09 
How to disable drop on death?
Gake 2021 年 1 月 20 日 下午 7:34 
Would it be possible to add functionality for dropping weapons too?
Professional Autist 2021 年 1 月 1 日 上午 10:49 
i have errors even with out any mods does it still even work?
Shootist 2019 年 12 月 8 日 上午 12:23 
Really liking the add-on. Makes feel good to be able to drop ammo for a friend in a a fight.
>KB> >KEKSQUAD 2019 年 11 月 28 日 上午 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  [作者] 2019 年 11 月 27 日 下午 3: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 2019 年 8 月 15 日 上午 1:43 
i hope someone will read this
SynthWave 2019 年 8 月 15 日 上午 1:42 
plz help me when i type ammodropper_menu in console nothing happens same with bind
Lincy 2019 年 5 月 17 日 上午 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 2019 年 4 月 19 日 上午 6:25 
4.5 stars
TheHopelessThrumbo 2019 年 4 月 17 日 上午 9:18 
Is it possible to read what ammunition the player has, and include it no matter it's unknown type?
HeavyMedic 2018 年 10 月 28 日 上午 2:11 
5 stars
Ejou 2018 年 6 月 11 日 下午 12:51 
Can you pleeeeeease add more CW 2.0 ammo types into ammo dropper? Like from "Extra CW 2.0"?
Vladimir Vladimirovich 2018 年 6 月 2 日 上午 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  [作者] 2018 年 4 月 24 日 下午 7: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 2018 年 4 月 24 日 上午 7:22 
Woah nice! I am going to try it now.
8Z  [作者] 2018 年 4 月 24 日 上午 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  [作者] 2018 年 4 月 24 日 上午 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 2017 年 12 月 15 日 下午 6:33 
just a suggestion but can you add ammo drop upon death?
Maxpowerammo 2017 年 12 月 10 日 下午 11:06 
ammodropper_quickdrop doesn't seem to work with AR2, SMG, or SLAM ammo.
zql9843 2017 年 12 月 1 日 下午 10:45 
Can you make NPC drop ammo rather than weapons?
DeWomanizer 9000 2017 年 11 月 25 日 下午 8:48 
Interesting, but very buggy, has a lot of conflicts with other not bad addons, spams errors in console-need in improvement.
8Z  [作者] 2017 年 11 月 1 日 下午 6: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  [作者] 2017 年 11 月 1 日 下午 6:14 
@Maxpowerammo That can be done.
8Z  [作者] 2017 年 11 月 1 日 下午 6: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 2017 年 8 月 30 日 上午 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 2017 年 8 月 28 日 下午 4: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 2017 年 8 月 22 日 下午 8: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 2017 年 8 月 20 日 下午 2:19 
I'm posting a screencap of my two comments somewhere it can be answered. Wish me luck.
BrainyPepper 2017 年 8 月 20 日 下午 2:15 
Understandible. Have a nice day.
8Z  [作者] 2017 年 8 月 20 日 上午 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 2017 年 8 月 19 日 下午 3: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 2017 年 8 月 19 日 下午 3: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✨ 2017 年 8 月 11 日 下午 8:10 
好好好,腐竹加进服务器呗
BrainyPepper 2017 年 8 月 4 日 上午 10:58 
Good.
8Z  [作者] 2017 年 8 月 3 日 下午 4:57 
@Miga Smull the buckshot duplication bug has been fixed. I have verified that 357 and XBowBolt ammo does not duplicate.
BrainyPepper 2017 年 8 月 3 日 下午 1: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  [作者] 2017 年 8 月 2 日 下午 8:58 
@miga Smull which ammo is able to be cloned?
Aleksander3453 2017 年 8 月 2 日 上午 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 2017 年 8 月 2 日 上午 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  [作者] 2017 年 7 月 28 日 下午 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  [作者] 2017 年 7 月 28 日 上午 11:57 
@OneGeyFan2311 I'll look into it.
Aleksander3453 2017 年 7 月 27 日 上午 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!