Var FiveM
ScriptsPacotesAssinaturasDocs
VAR
Var FiveM
ScriptsPacotesAssinaturasDocs
Personalizar temaSobreContacto
Comprar agora

-- 28 sections

  • ›paintball
    • configuration
    • features
    • anti-cheat-integration
    • game-modes
    • api
    • arenas
    • command
    • config
  • ›chess
    • configuration
    • events
    • integration-example
    • exports
    • controls
    • config
  • ›supermarket simulator
    • configuration
    • catalog-manager
    • commands-and-permissions
    • props-editors
    • owning-and-running-a-store
    • config
  • ›coins shop
    • configuration
    • identifier
    • export
    • server-event
    • languages
    • products
    • delivery
    • owner-panel
    • webhooks-discord
  • ›clothes shop
    • installation
    • configuration
    • blips-marker
    • translate
    • change-cam-and-pos
  • ›casino
    • installation
    • configuration
    • main-config
    • horse
    • lucky-whell
    • translate
  • ›drugs
    • installation
    • configuration
    • labs-and-interiors
    • maintenance-and-modules
    • missions
    • street-selling
    • administration
  • ›clothes shop v2
    • installation
    • configuration
    • position
    • advice-and-troubleshooting
    • configure-clothing-shops
  • ›interaction
    • configuration
    • public-api
    • interaction-config-reference
    • dialog-system
  • ›emote
    • configuration
    • config
    • adding-emote
    • menu
    • keybind
    • modules
    • 3d-placement
    • playlist
    • wheel
    • shared-emotes
  • ›crew
    • installation
    • export
  • ›alert job
    • installation
    • server-export
  • ›pin code
    • installation
    • export
  • ›society manager
    • installation
    • export
    • configuration
    • translate
    • max-salary
    • last-invoice
  • ›property
    • installation
    • configuration
    • translate
    • add-interior
  • ›barber shop
    • installation
    • configuration
    • change-menu-open-source
    • blips
    • translate
    • add-shop
  • ›shop with basket
    • installation
    • configuration
    • item-category-config
    • blips-marker
    • translate
    • add-shop
  • ›tattoo shop
    • installation
    • configuration
    • edit-tattoo
    • blips-marker
    • translate
    • add-shop
  • ›gardener job
    • installation
    • configuration
    • change-pos-farm
    • blips
    • translate
  • ›heist atm
    • installation
    • configuration
    • event-money
    • translate
    • police-alert
  • ›heist fleeca
    • installation
    • configuration
    • translate
    • pos-fleeca-heist
  • ›poster job
    • installation
    • configuration
    • change-pos-farm
    • change-poster-texture
    • blips-marker
    • translate
  • ›loading screen
    • installation
    • configuration
  • ›bank
    • installation
    • configuration
    • position
    • blips
    • translate
    • society
  • ›autocardealer
    • installation
    • configuration
    • add-vehicles
    • translate
    • blips
    • coords
  • ›character creator
    • installation
    • configuration
    • translate
    • expression
    • spawn
  • ›multi character
    • installation
    • configuration
    • translate
    • change-character-creator
    • commands
  • ›bill
    • installation
    • configuration
    • translate
    • control

~/docs/casino/configuration/horse

casino docs›
  • installation
  • configuration
  • configuration/main-config
  • configuration/horse
  • configuration/lucky-whell
  • configuration/translate

Casino

Horse

-- 1 code block · 1 min read

get var-casinotry it on the test server
lua
Shared.Horse.MaxBet = 2000
Shared.Horse.StartingTimer = 5 -- In second
Shared.Horse.PedStartGame = true -- If true one of the players must go towards the foot to start the game once the bets have started ; If false it launch automatically every 2.30 if bets are made
Shared.Horse.TimerCountdown = 5 -- Timer if bets are made and if Shared.Horse.PedStartGame = false
Shared.Horse.PedCoords = vec3(1106.070312, 263.221985, -51.841064)

if Shared.Horse.PedStartGame then
    table.insert(Shared.PedSpawn, { model = "s_m_y_casino_01", pos = Shared.Horse.PedCoords, heading = 130.393707, name = "Jason",  anim = {"s_m_y_casino_01^1_dual-24", "mpcas_int-24"} })
end

-- The parameter "luck" corresponds to the odds betting on the horse.

Shared.HorseList = {
    {
        name = "Swift",
        luck = math.random(1, 10) / 10.0
    },
    {
        name = "Lightning",
        luck = math.random(1, 10) / 10.0
    },				
    {
        name = "Midnight",
        luck = math.random(1, 10) / 10.0
    },
    {
        name = "Storm",
        luck = math.random(1, 10) / 10.0
    },
    {
        name = "Thunder",
        luck = math.random(1, 10) / 10.0
    },
    {
        name = "Blaze",
        luck = math.random(1, 10) / 10.0
    }
}

The chances of victory are completely random; the only parameter that plays a role is luck, which plays a small role in the horse's victory.

If Shared.Horse.PedStartGame is activated then the game can only be started when a person has made a bet and initiates a race with the ped, however if it is not activated as soon as a player initiates a bet the countdown is spear

previousmain-confignextlucky-whell
VAR
Var FiveM

Scripts FiveM premium. Low resmon, alta qualidade. Feitos para ESX, QBCore & Standalone.

28scripts
1,500+vendas

Scripts

  • Marketplace
  • Pacotes
  • Assinaturas
  • Personalizar tema

Mais populares

  • Supermarket Simulator
  • FiveM Casino Script
  • FiveM Coin Shop
  • FiveM Emote Menu
  • FiveM Paintball Script

Recursos

  • Free Scripts
  • Guides
  • Documentacao
  • Suporte

Empresa

  • Sobre
  • Contacto
  • Discord

Legal

  • Termos
  • Privacidade
  • Reembolsos

© 2026 Var FiveM. Todas as vendas sao finais.

Pagamentos porTebex