RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • πŸ””Notify
      • βš™οΈInstallation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • πŸ–ΌοΈLoadingscreen
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ”ŽAdvanced Metal Detector Script
      • πŸ“Editable
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈ24/7 Market
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈWeapon Market
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈBlack Market Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸš—Simple Garage
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸŽ’Outfit Bag Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • βš™οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ”˜Radial Menu
      • πŸ’‘Installation
      • βš™οΈCommands & Event Triggers
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ—’οΈTicTacToe / X and O
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • βš™οΈAdvanced Crafting System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ•Pizza Delivery Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸŽ‡Firework Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ“¦Blindfold
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. Spin the Bottle

Configuration

Below is a table summarizing each major setting. Further down, you can see an excerpt from the config file for reference.

Parameter
Description
Example Value

RS.Framework

Determines the framework: auto, esx, or qb.

"auto"

RS.Item

The item required to start the game.

"spinbottle"

RS.Language

The default language for cooldown, winner, and error messages.

"en"

RS.BottleModel

The in-game prop used for the bottle.

"prop_wine_bot_01"

RS.MarkerColor

RGBA color table for any used marker.

{r=0,g=169,b=255}

RS.MarkerType

0

RS.canMoveWhileSpinn

Whether players can move around while the bottle is spinning.

true

RS.ShowWinnerMarker

If true, displays a marker above the winner’s head.

true

RS.ShowWinnerName

If true, prints or displays the name of the winner.

true

RS.OtherPlayersCanSpin

Allows multiple players to spin if set to true.

true

RS.UseCustomNotify

If true, the script calls RS.CustomNotify(type, message) for notifications.

false

RS = {}

-- Framework Settings
RS.Framework = 'auto'
RS.Item = "spinbottle"
RS.Language = 'en'

-- Bottle & Marker
RS.BottleModel = 'prop_wine_bot_01'
RS.MarkerColor = { r = 0, g = 169, b = 255 }
RS.MarkerType = 0

-- Gameplay
RS.canMoveWhileSpinning = true
RS.ShowWinnerMarker = true
RS.ShowWinnerName = true
RS.OtherPlayersCanSpin = true

-- Notification
RS.UseCustomNotify = false
RS.CustomNotify = function(type, message)
    -- Custom logic or fallback to GTA notifications
end

-- Language Messages
RS.CooldownMessages = {
  en = "The bottle is already spinning, please wait until it stops!",
  -- ...
}
RS.WinnerMessages = {
  en = "%s is the chosen one!",
  -- ...
}
RS.ErrorMessages = {
  en = "Not your bottle",
  -- ...
}

-- Framework Detection
function getFramework() ... end
-- ...
PreviousInstallationNextUsage

Last updated 5 months ago

Marker type ID. See .

🍾
βš™οΈ
markers docs