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 = "qbx" -- Options: ESX, qbcore, qbx
R.newESX = true -- false for ESX 1.1
R.CoreName = "es_extended"
R.AmbulanceJob = "qbx" -- Options: esx, wasabi, qb, qbx
Target System
R.UseTarget = false -- Set true if using target
R.Target = "ox_target" -- Options: ox_target, qb-target
Debug Mode
R.Debug = false
R.ZoneDebug = false -- Debug arena zones
R.MenuSettings = {
Key = "G", -- Key to open FFA menu
UseRadialMenu = true, -- Use ox_lib radial menu
}
Commands
R.Commands = {
weapons = "ffaweapons",
components = "ffacomp",
leave = "ffaleave",
admin = "ffaadmin",
}
R.AdminGroupd = "group.mod" -- Admin permission
Currency Settings
R.Currencies = {
cash = "currency_cash",
credits = "currency_credits",
}
-- R_Store integration for credits
R.UseRStoreCredits = true
R.RStoreResourceName = "r_store"
Join Location
Configure where players join FFA:
R.JoinInfo = {
Model = "ig_joeminuteman",
Scenario = "WORLD_HUMAN_DRUG_DEALER",
EnableBlip = true,
BlipData = {
Sprite = 110,
Display = 4,
Scale = 0.6,
Colour = 1,
Name = "FFA Arena"
},
Locations = {
{
Location = vec4(-257.2, -972.6, 31.2, 250.5),
BlipPosition = vec3(-258.6, -973.2, 31.2),
},
},
}
Wager Settings
R.WagerSettings = {
CountdownTimeRound = 5, -- Countdown seconds
CountdownColor = {94, 20, 179}, -- RGB color
}
Logo Configuration
R.DefaultLogo = "nui://r_ffa/html/assets/logo.png"
Replace logo.png in html/assets/ with your own logo.
Example Configurations
R.Framework = "ESX"
R.newESX = true
R.UseRStoreCredits = false
R.Currencies = {
cash = "currency_cash",
}
QBX with R_Store Integration
R.Framework = "qbx"
R.UseRStoreCredits = true
R.RStoreResourceName = "r_store"
R.Currencies = {
cash = "currency_cash",
credits = "currency_credits",
}
R.UseTarget = true
R.Target = "ox_target"
Creating Maps
Learn how to create custom arenas
Common Issues
Fix common problems