Documentation Index
Fetch the complete documentation index at: https://docs.r-scripts.net/llms.txt
Use this file to discover all available pages before exploring further.
Basic Configuration
Framework Settings
R.Framework = "ESX" -- Options: ESX, qbcore, qbx
R.newESX = true
R.CoreName = "es_extended"
R.Inventory = "ox_inventory"
R_Store Coin Integration
Use r_store coins instead of separate casino coins:
R.UseRStoreCoins = false -- Set true to use r_store coins
R.RStoreResourceName = "r_store"
Store Integration
Show store button in casino:
R.EnableStore = false -- Enable to show store button
R.StoreResourceName = "r_store"
R.StoreCommand = "store"
Discord Settings
Configure logging with Trase or Badger Discord:
R.Discord = {
Enabled = true,
Type = "trase", -- Options: trase, badger
}
Required Resources:
Commands
R.GiveCreditCommand = "giveCasinoCredits" -- Server console command
R.OpenCasinoCommand = "casino" -- Open casino command
Fast Key
R.EnableFastKey = true
R.ToggleKey = "F5"
R.KeyText = "Open r_casino"
Win Notifications
R.EnableWinNotifications = true
R.WinNotificationThreshold = 5000 -- Minimum win to notify others
NPC & Blip
R.EnablePed = true
R.Ped = {
Model = "s_m_y_casino_01",
Scenario = "WORLD_HUMAN_STAND_IMPATIENT",
Location = vector4(925.3286, 46.5176, 81.1063, 148.8192),
}
R.EnableBlip = true
R.BlipSettings = {
Name = "Casino",
Pos = vector3(925.3286, 46.5176, 81.1063),
Sprite = 617,
Display = 4,
Scale = 0.7,
Colour = 1,
}