Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Minigames

Pickles Lottery

Pickle's Lottery System

Pickle Mods
Frameworks:
  • ESX
  • QBCore

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX, QBCore
Version
1.0.1
Dependencies
ox_libmysql-async
File size
3.6 MB
Creator
Pickle Mods
Updated
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Pickle's Lottery System (version 1.0.1) adds a realistic lottery to FiveM ESX and QBCore servers: Keno, Moneyball and scratch-off tickets, sold at configurable lottery stations.

Features

  • Keno and Moneyball Tickets: Fill in your own numbers to play!
  • Three Included Scratch-Off Tickets: Pickle's, Wild Cherry and Lucky 7's, with the option to add your own custom scratch-offs.
  • Configurable Lottery Stations: Tailor each station to your needs (location, blip, model, items and prices).
  • Past and Current Game Tracking: Keep track of Keno and Moneyball game histories.
  • Winning Sound Effect: Enjoy a celebratory sound when redeeming winning tickets.
  • Flexible Proceeds Distribution: Allocate earnings among society or businesses based on store configurations (default: 50% police, 50% ambulance).
  • Item-Based Lottery System: A straightforward, inventory-driven lottery system.
  • Realistic and Adjustable Odds: Customize the odds for each lottery game in the configuration.
  • Target or key press: ox_target, qb-target or qtarget, or markers without target.

Requirements

  • Frameworks Supported: ESX (1.1+), QBCore, and any inventory that aligns with these frameworks. (See Inventory Support)
  • Custom Bridge Compatibility: You can create your own bridge to integrate with different frameworks. The bridge is open source!
  • ox_lib and mysql-async

The following inventory systems are supported:

  • For ESX:
    • Ox Inventory
    • Quasar Inventory
  • For QBCore:
    • QB-Inventory (or any system using QBCore Inventory Methods)
    • Ox Inventory
    • Quasar Inventory

Installation

  • Import _INSTALL/install.sql (tables lottery_keno, lottery_moneyball, lottery_receipts).
  • Add the items from _INSTALL/Items for your inventory (ox_inventory, qs-inventory or QBCore) and copy the item images.
  • Copy pickle_lottery into your resources folder and add ensure pickle_lottery after ox_lib in your server.cfg.
  • Set Config.Debug = false (it is enabled in the supplied config) and adjust stations and odds in config.lua.

Attributions

  • Icons:
    • Lucky 7's Icon by IconsNova: Link
    • Wild Cherries Icon by Rohim: Link
  • Sound Effects:
    • Victory Sound by Pixabay: Link

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

Pickle's Lottery System

In your downloads
  • Brutal Scripts FiveM Baby Script menu and stroller preview
    • ESX
    • QBCore, vRP
    Not for your framework

    FiveM Baby Script

    Brutal Scripts

    $30.00$21.00
  • Statistics & Achievements FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    Statistics & Achievements

    kralik

    $19.00$13.30
  • Storm Chasing FiveM resource preview 2
    • ESX
    • QBCore, Qbox
    Not for your framework

    Storm Chasing

    Nights Software

    $35.00$24.50
  • 0R-PAINTBALL V2 FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    0R-Paintball V2 (Script Only)

    0Resmon

    $30.00$21.00
  • Brutal Gym FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    Brutal Gym

    Brutal Scripts

    $14.00$9.80
  • FiveM Daily Lucky Wheel
    • ESX
    • QBCore
    Not for your framework

    Daily Lucky Wheel

    $14.00$9.80
  • FiveM Earthquake Script
    • ESX
    • QBCore, vRP
    Not for your framework

    EarthQuake Script

    $3.00$2.10
  • Realistic Airdrop FiveM script preview
    • ESX
    • QBCore
    Not for your framework

    Realistic Airdrop

    $20.00$14.00