> For the complete documentation index, see [llms.txt](https://mio-scripts.gitbook.io/mio-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mio-scripts.gitbook.io/mio-scripts/scripts/mio-lottery.md).

# MIO LOTTERY

Bring the thrill of a lottery to your FiveM server! Players can purchase lottery tickets, pick their lucky numbers, and compete for a growing jackpot.

## Preview

[click for preview](https://www.youtube.com/watch?v=LtmbLfZ2Aqw)

## Installation

### Instruction to install

* Download MIO LOTTERY through FiveM Assets Manager (Link)
* Unpack the ZIP
* put mio\_lottery folder in \[resources]
* add to your server.cfg (ensure mio\_lottery)
* set up the config.lua as you wish
* Restart your server
* have fun with your brandnew lottery script

### Requirements

* ESX (1.2 or Legacy)
* OXMYSQL or MYSQL-ASYNC
* compatible with ox\_inventory, qs-inventory or esx inventory scripts
