Vending Machines + Dumpster

  • Submitted by:
  • Uploaded: 4 months ago
  • Updated: 4 months ago
  • Type: Addon
  • Downloads: 117 (5 last 7 days)
  • Views: 409 (11 last 7 days)
  • Size: 40.13 KB
  • Tags: darkrp, dumpster, vending-machine

Thank you for downloading my addon. Feel free to report any bugs.
VGUI colors are customizable to some degree.

------Warning------
The vending machine will cause errors if you have spawned it through the Q menu, it works through the F4 menu.
------------------------
Config files are found under the entities.
For example addons\bensdarkrpaddons\lua\entities\vendingmachine 

Dumpster,
A configurable dumpster that allows hobo's to find money, weapons and any other entity for that matter.
Hobo's will be fighting over who gets to loot these dumpsters. You will have to use PermaProp to place them. My apologies.


Vending machines,
The vending machines are for your gun dealers to spawn, or anyone really.
Players can buy weapons from these vending machines that the gun dealers spawn meaning gun dealers can make a lot of money. DarkRP Isn't fun when no one has any weapons so why not make gun dealing actually worth it?





Change Log:
V1.1
Fixed bug when players join the server.
Fixed Certain resolutions looking bad.
Combined Ammo + Weapon Vender into one.
Animated + changed scrollbar.
Thanks to Wanni (https://garrysmods.org/profile/76561198061762559) for helping me test it.

V1
Initial Version.

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • bensdarkrpaddons <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • bensdarkrpaddons/
    • garrysmods.json
    • lua/
      • autorun/
        • donttouch.lua
        • overallconfig.lua
      • entities/
        • bens_dumpster/
          • cl_init.lua
          • dumpsterconfig.lua
          • dumpsterguiconfig.lua
          • init.lua
          • shared.lua
        • bens_vendingmachine/
          • cl_init.lua
          • init.lua
          • shared.lua
          • vendingconfig.lua
          • vendingguiconfig.lua
    • resource/
      • fonts/
        • jaapokki-regular.ttf
        • Simpleness.ttf

BBCode:

HTML:

Social: