Garry's Mod

Garry's Mod

122 avaliações
[AAD] Advanced Ammo Dispenser [DarkRP,SWRP,MilitaryRP, etc.] // Major Update 02/2021
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Tamanho:
Publicado em:
Atualizado em:
34.496 KB
15 ago. 2016 às 13:08
14 fev. 2021 às 6:09
8 notas de alterações ( ver )

Subscreve para transferir
[AAD] Advanced Ammo Dispenser [DarkRP,SWRP,MilitaryRP, etc.] // Major Update 02/2021

Numa coleção por Momox
HaloRP
72 itens
Descrição
Advanced Ammo Dispenser V2.0 - MAJOR UPDATE 02/2021
Just a simple and versatile ammo dispenser for all your needs


Description
This addon introduces an ammo dispenser entitity. All its aspects can be changed in real-time from the config (Q > Utilities > Advanced Ammo Dispenser). Must have for any DarkRP, MilitaryRP or SWRP.
It should work with every weapon on the workshop.


Config Options
  • Change the amount of ammo and secondary ammo players get per use
  • Enable dynamic ammo to give players one full magazine instead of a fixed amount
  • Total Ammo Cap
  • Cooldown and cooldown sound
  • Change the model
  • Other minor quality of life features


Disclaimer
  • Perma Props 4 can only save the model persistently between sessions, the ammo dispensers fetch the current config whenever they are being spawned. Permaprops respawns them after every restart/map change, so keep in mind: If you change the config in betwen sessions, all current ammo dispenser will be updated with these values in the next session.
  • Best practice is to modify the config, spawn a single box and immediatly permaprop it, if you spawn multiple boxes and change their model in the config, they will all have the same config if you permaprop them.
  • If you have any issues, post them down in the comments, remember to attach any error messages!


2.0 Update
Its been about 5 years (March 2016) since the first prototype of the "simple ammo dispenser" has been developed. It was quite successfull back then, so A-10 and me made a new version, the advanced ammo dispenser, back in late 2016.
A lot of time has passed and I've quit gmod a long time ago.
After a user's suggestion I decided to give this addon the love it deserved and made a major update:
  • Major rewrite of 90% of the code
  • Tremendously optimized performance and security
  • New config menu
  • More config options that couldn't be accessed earlier
  • Quality of life features such as a cooldown sound
69 comentários
Kitsuneko184 9 ago. 2021 às 10:18 
i do thats for first but with a normal text its look better but not bad :P
Momox  [autor] 9 ago. 2021 às 9:52 
Good suggestion, however I've looked into it, doesn't seem like an easy job :(
Will add it to my to do list, but don't expect anything anytime soon, you're better of using a normal 3D2D Textscreen.
Kitsuneko184 9 ago. 2021 às 7:50 
Can u mabey make a Update thats stand over the box a text like i dont know Ammo Box or so thats we can mabey too change in the tool ?
For when we change the model thats everyone know thats a ammo box
SPEC_OPS1711 23 jul. 2021 às 15:31 
no errors have appeared at all on the console
SPEC_OPS1711 23 jul. 2021 às 15:30 
using dark rp
Momox  [autor] 23 jul. 2021 às 13:43 
This is quite a weird behaviour...
Please check, if there are any duplicates of the addon file on your server (maybe the old version)...
What gamemode are you using?
SPEC_OPS1711 22 jul. 2021 às 14:20 
Yes, i tried to change the settings but everytime i try to do it on my server, it like restarts, some settings stays the same apart from changing the ammo given, the maxium the player can take is like 2000, i want that to be 9999 (max ammo)
Momox  [autor] 22 jul. 2021 às 3:00 
Have you enabled dynamic ammo by chance?
Dynamic ammo will try to give the player one full clip and overrides the static ammo setting.
SPEC_OPS1711 19 jul. 2021 às 12:39 
everything works apart from the given ammo amount, like when i try to set the max ammo given to the player, it only gives the default and not the one i set which is 9999. if you have time, plz fix this, this also affects the secondary amount of ammo too
Momox  [autor] 16 jul. 2021 às 10:01 
@david > Q-Menu > Other > Ammobox
(If I remember correctly)