Var FiveM
ScriptsBundlesDocs
VAR
Var FiveM
ScriptsBundlesDocs
NewsTheme CustomizerAboutContact
Shop Now

-- 29 sections

  • ›paintball
  • ›chess
    • configuration
    • events
    • integration-example
    • exports
    • controls
    • config
  • ›supermarket simulator
  • ›coins shop
  • ›clothes shop
  • ›casino
  • ›drugs
  • ›clothes shop v2
  • ›interaction
  • ›emote
  • ›crew
  • ›alert job
  • ›pin code
  • ›society manager
  • ›property
  • ›barber shop
  • ›shop with basket
  • ›tattoo shop
  • ›gardener job
  • ›heist atm
  • ›heist fleeca
  • ›poster job
  • ›loading screen
  • ›bank
  • ›autocardealer
  • ›character creator
  • ›multi character
  • ›bill
  • ›tattoo shop v2

~/docs/chess/configuration/config

chess docs›
  • configuration
  • configuration/events
  • configuration/integration-example
  • configuration/exports
  • configuration/controls
  • configuration/config

Chess

Config

-- 2 code blocks · 1 min read

get var-chesstry it on the test server

Everything lives in shared/sh.lua.

Framework

lua
Shared.Framework = {
    autoDetect = true,   -- detect ESX / QBCore / Standalone at runtime
    ESX        = false,  -- when autoDetect = false, force one of these
    QBCore     = false,
    Standalone = false,
}

Key options

Option Description
Config.Locations World spots where a table spawns (coords, heading, blip toggle).
Config.Betting enabled, account (money or bank), min, max, presets, houseCut, drawRefund.
Config.AI.levels Difficulty list, each { id, depth, randomness, moveDelay }.
Config.Sit / Config.Camera Seated ped placement and the overhead / scene cameras.
Config.Spotlight Overhead table light (night-only by default).
Shared.Locale All on-screen text.

Adding a table

lua
Config.Locations = {
    { coords = vec3(-1319.88, -925.41, 10.2), heading = 104.88, blip = true },
    -- add more spots here
}
inote

Set Config.Debug = true to enable the in-world tuning commands /chesssit, /chesscam and /chesschair for dialing in ped and camera placement. Turn it back off for production.

previouscontrols
VAR
Var FiveM

Premium FiveM scripts. Low resmon, high quality. Built for ESX, QBCore & Standalone.

28scripts
1,500+sales

Scripts

  • Marketplace
  • Bundles
  • Theme Customizer

Most Popular

  • Supermarket Simulator
  • FiveM Casino Script
  • FiveM Coin Shop
  • FiveM Emote Menu
  • FiveM Paintball Script
  • FiveM Clothing Shop Script
  • FiveM Interaction Script
  • FiveM Character Creator

Resources

  • Free Scripts
  • Guides
  • News
  • Documentation
  • Support

Company

  • About
  • Contact
  • Discord

Legal

  • Terms
  • Privacy
  • Refunds

© 2026 Var FiveM. All sales final.

Payments byTebex