Skip to content

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

RPScripts

FiveM Minigames

Russian Roulette

Russian Roulette Script

aw3rque
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
Dependencies
ox_libinteract-soundoxmysqlox_target or qb-target
File size
44.8 kB
Creator
aw3rque
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

0R Russian Roulette is a two-player table minigame for FiveM servers running ESX or QBCore. A player invites a nearby opponent at a table, both put up the same cash wager, and they take turns pulling the trigger of a revolver with one bullet in six chambers. The player who gets shot dies and the other one wins.

Features

  • The inviting player enters the opponent's server ID and the wager in an ox_lib dialog; the invited player must be within 10 meters and accepts or declines in a dialog
  • The wager is taken in cash from both players when the game starts, and the winner is paid out with a random win animation (four are configured)
  • Both players are placed on opposite sides of the table and frozen, a 3-second countdown starts, then they take turns every 3 seconds with a revolver prop in hand and click and shot sounds
  • Tables are placed as the prop prop_arm_wrestle_01 at configured spots; two spots with map blips are set up by default, and a table that is in use shows an "occupied" notice
  • Interact with the table through a 3D text prompt (E) or through ox_target or qb-target
  • The Config.Framework setting offers the branches esx, qb, oldesx and oldqb, so it also runs on older ESX and QBCore versions

Requirements

  • ESX or QBCore
  • ox_lib and interact-sound (declared as dependencies in the manifest); oxmysql is loaded by the manifest as well
  • ox_target or qb-target only if you switch the interaction to target

Installation

  • Copy the 0r_russianroulette folder into your resources folder.
  • In config.lua, choose the framework (Config.Framework), the interaction type, the target resource, the table prop and the table spots with their player positions and blips. Config.Debug is true by default.
  • Add ensure 0r_russianroulette to your server.cfg after ox_lib and interact-sound.

Notes

The reward event on the server accepts the winner ID and the cash amount from the client and pays that amount without checking the running game or the winner. Add server-side validation before you use it on a public server.

Server setup

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

Checked: the only resource of this download.

Russian Roulette Script

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