[QBCORE] [PAID] Advanced Lottery System

PREVIEW: https://youtu.be/QpA96M7Xlhc
Tebex: https://flekdev.tebex.io/package/5444087

This is the most advanced lottery script on the market!
With the recent IRL lottery being so high I decided to make this!
I built this from the ground up!

This resource is FULLY open source!!

  • Runs at 0:00 ms
  • Unlimited lottery card types (two built in - Powerball and MegaMillions)
  • Custom UI
  • View real lotto numbers on the card
  • View past winners, their names, how much they won, and when they won
  • View all your numbers and when you purchased that card
  • Lots of customizations to make it non economy breaking
  • Ability to easily add infinite amount of new lottery cards!

All of the install instructions are in the README.

Requirements consist of:
qb-core
qb-target (or another target script of your choice)
qb-input
qb-inventory (or lj-inventory…others may work)

Code is accessible Yes
Subscription-based No
Lines (approximately) ~500
Requirements qb-core
Support Yes
5 Likes

looks good but can you disable command and make it auto draw at a specified time or frequency so it doesn’t rely on admins

1 Like

Will be esx as well?

Next update I will add that, most people that requested this wanted it to just be ran by admins, but my next update will be massive (job, society $, auto draw, taxes, auto pay, actually turn the card in to get paid, etc) all will be configurable of course!

1 Like

At the moment no, I’m not super familiar with ESX, but I will give it a go at some point. It’s open source so you could convert it if you know how to do it

1 Like

v1.0.2
Files that were changed:

  • client/main.lua
  • server/main.lua
  • shared/config.lua
  • fxmanifest.lua

Changes

  • Added job option to the script
  • This means this can all be player ran.
  • Players with the job can draw winner using qb-target
  • When tickets are bought, the $ goes into the society account. They can then draw the winner
  • It will then be up to the job to pay the winner out if they have the winning card

***Please download and update to the new version.


Previews:




ESX would be great , without 3rd eye thou.

1 Like

Why not 3rd eye? Anything else is unoptimized, unless you use radial menu or commnds

2 Likes

Our Players don’t like 3rd eye one reason why we use ESX

What do you do as an alternative?

Just normal press E , thats on ESX Legacy

That is very unoptimized unless you use polyzones in/out events. I likely wont ever build that into my scripts

Damn, That looks soo good, If i had that irl i would confuse it with the real tickets.

framework has nothing to do with targets there’s multiple target systems for esx ?

not only that but looks so much better then drawtext

Thank you! I designed it off IRL tickets

Absolutely love this. 1 awesome feature… if possible, could discord logs be considered?. Do reveal draw numbers aswel. Maybe people would then fly into the city to check their numbers/tickets etc?. If the results could be posted to a webhook?

1 Like

It’s all open source and very easy to add but yes - I can add it in

1 Like

Legend :crown::crown:

when will this be esx