VendingMachines
POPULAR LINKS
- BUY IT! Purchase Vending Machines from BigDaddyScripts.com
- SERVER.LUA How to use the included server.lua with BigDaddy Scripts to set up framework integration for money functions
{:links-list}
INSTALLATION
- Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
- Add your product key (get it here) to the
settings.inifile - Add
start BigDaddy-VendingMachinesto yourserver.cfg.
DO NOT RENAME THE FOLDER.
If you change the name of the folder it will not function correctly so leave the name as it is.
{:is-danger}
CONFIGURATION
| SETTING | DEFAULT | DESCRIPTION |
|---|---|---|
| [licensing] | ||
| key1 | none | This is where you put your product key |
| [settings] | ||
| useMoney | true | set this to false if you do not want to use a money framework |
| UseOxTarget | true | set this to false if you do not want to use ox target |
| ShowPrompts | true | if not using ox target, this will show the prompts on machines with the key to press |
| useMoney | true | set this to false if you do not want to use a money framework |
| keys | https://docs.fivem.net/docs/game-references/controls/ | |
| actionKey | 38 | The key used to initiate a vending purchase (if not using ox target) |
| [locales] | ||
| various |
HOW TO PLAY
Walk up to a vending machine and either you will see a prompt to use it or if using ox target you can press your target key to get a menu to use the machine. After pressing it you will see a list of items within the machine to choose from. Make a choice (or press BACKSPACE to exit without making a choice). Money will be taken (if using money) and your item will be delivered to you. Press [X] to exit the animation and drop the item. There is a chance the machine will jam and not give you your item. If you do not have enough money to purchase an item, it will let you know and you get no snack/drink. All vending machines in the game that are in working order are usable. If you kick a machine to where you break it, it will show as out of order.