This is a realistic, first of it’s kind, lottery system that has a variety of games for players to play!
This includes Keno, Moneyball, and three scratch-offs - all purchaseable through lottery stations.
Each lottery station has a configurable store, including a way to disperse each purchase a player makes into business’s accounts!
Features
Keno and Moneyball Tickets. (You can fill your own numbers!)
Three included scratch-off tickets. (You can add your own as well!)
Configurable Lottery Stations.
View past and current games for Keno and Moneyball.
Win sound effect upon redeeming a winning lottery ticket.
All proceeds can be divided amongst society / businesses in each store's config.
Item-Based Lottery System.
Realistic odds for all lottery games. (This is configurable in each game's config!)
And more!
Requirements
ESX (1.1+) / QBCore, and a supported inventory for the framework. (See Inventory Support)
There isnt any actual drawing that occurs?
It looks like i can get the results of the the lottery tickets where you choose the numbers as soon as its purchased?
Can it be added to escrow version to which society to take money from (or add money to when lottery bought)? I would like to add it to my casino faction
A fatal copy bug exists.
With kino tickets and moneyballs, you pick a number, get a recipe, and then you can get that recipe back an unlimited number of times, which is pretty daunting for money copying.
this scripts awesome, the openness to the code even with the escrowed copy makes it easy for me to integrate even with banking systems like renewed banking. Players love it, I now have a new coin sink and am very happy with the product. 10/10 well done.
A fatal copy bug exists.
With kino tickets and moneyballs, you pick a number, get a recipe, and then you can get that recipe back an unlimited number of times, which is pretty daunting for money copying.
In the words of a famous developer: “It’s not a bug, it’s a feature.”
You are able to play multiple of the same game, with either the same numbers, or new ones, and it still charges you each time you wager by inserting the ticket.
This is why inserting your Keno / Moneyball ticket doesn’t remove itself, it’s intended to be replayable.
Again, this is how it works in real life, which is the goal of this script - to be as realistic as possible.
I’m really sorry for reporting it without looking into it well. I stupidly just had to charge a fee at the time of insertion, but it was my mistake. I didn’t know how to use it in real life. please forgive my rudeness
100% perfectly working script with no bugs, I highly recommend it