Skip to content
RPScripts

FiveM Economy System

Lottery

Lottery Draw Script (QB)

  • QBCore

Description

Lottery Draw is a ticket draw system for QBCore. You can raffle gifts, vehicles, money and more on your server, and ticket sales take money out of your economy.

Features

  • Players buy numbered tickets from an NPC seller, and the data of each buyer is saved
  • The main winner and a reserve winner are picked at random
  • Admin menu with /lotterymenu; saved tickets can be deleted from the menu
  • Config for ticket price (default 500), first ticket number, reward name, ticket item name, NPC model, seller location, map blip and ticket sales on/off

Requirements

  • QBCore (qb-core)
  • qb-menu
  • qb-inventory (for the ticket item info)

Installation

  • Import lotterys.sql into your database.
  • Create an item named ticket.
  • Add the ticket info code linked in the README to the FormatItemInfo function in qb-inventory's app.js.
  • Add ensure lauren_lottery-draw to your server.cfg.

Details

Frameworks
QBCore
File size
5.4 kB
Updated
Sep 27, 2026
How to install it

Installation

  1. Unzip the download into your server's resources folder.
  2. Add these lines to server.cfg, in this order:
    ensure lauren_lottery-draw

Checked: the one resource of this download.

From a static check of the files by the RPScripts Lab. It is not a test that your server starts.

Lottery Draw Script (QB)

$12.99€11.99£9.99A$18.99R$66.99CHF 10.99¥2,060

Can't find the exact script? Generate it.

Describe a custom script. 3 free credits per day, up to 15 per calendar month; no card needed.

Try the FiveM AI Script Generator