Skip to content
RPScripts

FiveM Minigames

Scratch Lottery FiveM resource preview

Scratch Lottery

  • QBCore

Description

Scratch Lottery (resource BakiTelli_lottery) adds scratch tickets to QBCore servers. Players use a scratch card item, scratch the ticket in a NUI and receive the prize they reveal.

Features

  • Scratch card item (default scratchcard) that opens the scratch UI
  • Prize list in the config: each prize is money or an item with label, amount and image (defaults include cash prizes, a weapon, extra scratch cards and food)
  • Guaranteed prize option (default $50 cash)
  • Adjustable probability for empty results (Config.EmptyProbability, default 50)
  • Inventory setting: default, ox_inventory, quasar or other
  • Player profile picture in the UI via a Steam API key set in the config

Requirements

  • QBCore (folders NEW and OLD for newer and older QBCore versions)
  • mysql-async (config also lists ghmattimysql and oxmysql)

Installation

  • Add the scratchcard item to your items and a way to get it (for example a shop).
  • Enter your own Steam API key and set prizes in shared/config.lua.
  • Add ensure BakiTelli_lottery to your server.cfg.

Details

Frameworks
QBCore
File size
4.6 MB
Updated
Oct 13, 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 BakiTelli_lottery

Checked: all 2 resources of this download.

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

Scratch Lottery

$18.99€16.99£14.99A$27.99R$96.99CHF 15.99¥3,010

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