Skip to content

Authentic GTA5 vending-machines; remade in FiveM using C#, and Statebags.

License

Notifications You must be signed in to change notification settings

traditionalism/vending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vending

To edit it, open geneva-vending.sln in Visual Studio (or an equivalent).

To build it, run build.cmd. To run it, run the following commands to make a symbolic link in your server data directory:

cd /d [PATH TO THIS RESOURCE]
mklink /d X:\cfx-server-data\resources\[local]\geneva-vending dist

Afterwards, you can use ensure geneva-vending in your server.cfg or server console to start the resource.

Features

  • Automatic resetting of vending-machines, after three (3) minutes of the vending machine running out of soda cans, it will reset back to it's starting stock.
  • Uses modern practices. Statebags, and not extremely horrible code.
  • Fairly optimized unless you're standing right next to the vending-machine.
  • It's a pretty 1:1 replication of actual vending-machines from vanilla GTA5!

Planned

  • Cleanup code.

Preview

Streamable

About

Authentic GTA5 vending-machines; remade in FiveM using C#, and Statebags.

Topics

Resources

License

Stars

Watchers

Forks