Garry's Mod

Garry's Mod

125 rating
[AAD] Advanced Ammo Dispenser [DarkRP,SWRP,MilitaryRP, etc.] // Major Update 02/2021
   
Penghargaan
Favorit
Difavoritkan
Batalkan favorit
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Ukuran File
Diposting
Diperbarui
34.496 KB
15 Agu 2016 @ 1:08pm
14 Feb 2021 @ 6:09am
8 Catatan Perubahan ( lihat )

Berlangganan untuk mengunduh
[AAD] Advanced Ammo Dispenser [DarkRP,SWRP,MilitaryRP, etc.] // Major Update 02/2021

Dalam koleksi 1 dari Momox
HaloRP
Item 72
Deskripsi
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 Komentar
[HRTMT] Kitsuneko184 9 Agu 2021 @ 10:18am 
i do thats for first but with a normal text its look better but not bad :P
Momox  [pembuat] 9 Agu 2021 @ 9:52am 
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.
[HRTMT] Kitsuneko184 9 Agu 2021 @ 7:50am 
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 @ 3:31pm 
no errors have appeared at all on the console
SPEC_OPS1711 23 Jul 2021 @ 3:30pm 
using dark rp
Momox  [pembuat] 23 Jul 2021 @ 1:43pm 
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 @ 2:20pm 
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  [pembuat] 22 Jul 2021 @ 3:00am 
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 @ 12:39pm 
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  [pembuat] 16 Jul 2021 @ 10:01am 
@david > Q-Menu > Other > Ammobox
(If I remember correctly)