Gun vending machine - used to help me learn DarkRP gLua
Version history / Change log
- Option to eject guns in vending machine as a shipment.
- Allow multiple gun shipments to be sold and provide an interactive menu to switch between them.
- Spawn Vending machine
- Gun dealer purchases shipment
- Move shipment into vending machine
- Vending machine now sells the guns when players press E (use) on the vending machine
- Added Alarm addon to allow you to put an alarm on the vending machine to protect against lockpicking. Each Alarm works three times, and then another can be added.
- Added text details to front of vending machine
- Added Firetrap, this is a one time use addon which sets the vending machine on fire for 30 seconds when someone tries to lockpick it.
- Added Owner menu to allow checking of stock level, profit and gun sale price.
- Added feature to add money to owner whenever a gun is sold.