Var FiveM
SkryptyPakietySubskrypcjeDokumentacja
VAR
Var FiveM
SkryptyPakietySubskrypcjeDokumentacja
Kreator motywuO nasKontakt
Kup teraz

-- 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/lucky-whell

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

Casino

Lucky Wheel

-- 1 code block · 1 min read

get var-casinotry it on the test server
lua
Shared.LuckyWheel = {}

Shared.LuckyWheel.DailySpin = false -- DONT FORGET SQL
Shared.LuckyWheel.Reset = {Hours = 12, Minutes = 0}

Shared.LuckyWheel.Pos = vec3(1110.15, 229.23, -49.64)

Shared.LuckyWheel.Dict = "ANIM_CASINO_A@AMB@CASINO@GAMES@LUCKY7WHEEL@MALE"

Shared.LuckyWheel.Model = "vw_prop_vw_luckywheel_02a"
Shared.LuckyWheel.ModelLightOn = "vw_prop_vw_luckylight_on"
Shared.LuckyWheel.ModelLightOff = "vw_prop_vw_luckylight_off"
Shared.LuckyWheel.ModelJackPotOn = "vw_prop_vw_jackpot_on"
Shared.LuckyWheel.ModelJackPotOff = "vw_prop_vw_jackpot_off"

Shared.LuckyWheel.VehicleModel = "euros"
Shared.LuckyWheel.VehicleType = "automobile"
Shared.LuckyWheel.VehicleCoords = vec4(1100.136230, 219.956039, -48.751709 - 0.4, 150.236221)
Shared.LuckyWheel.VehicleRotation = true
Shared.LuckyWheel.VehiclePlate = "CASINO"

Shared.LuckyWheel.RewardMoneyAccount = "bank"

Shared.LuckyWheel.RewardDrink = {"OrangeJuice", "Smoothie", "Soda"} -- Choose one randomly (item name)
Shared.LuckyWheel.RewardMystery = {"Phone", "Tv"} -- Choose one randomly (item name)

Shared.LuckyWheel.VehicleSpawn = vec4(934.799988, -1.094501, 78.750977, 147.401581) -- Where vehicle spawn if someone win

RegisterNetEvent("LuckyWheel:SetOwnerVehicle")
AddEventHandler("LuckyWheel:SetOwnerVehicle", function(Vehicle, Plate) -- Server Side
	print(Vehicle, Plate)
end)

-- The probability of winning a reward is determined by the range of randomly generated numbers.
-- Probability is specified as two numbers, 'a' and 'b', representing the range [a, b).
-- For example, if 'a' is 10 and 'b' is 20, it means the reward has a chance of 10/1000 (1%) to be selected,
-- as it corresponds to the range of numbers from 11 to 20 in a series from 1 to 1000.
-- To modify the probability of a reward, simply adjust the values of 'a' and 'b' to adjust the range.
-- Make sure that the probability ranges are properly defined and their sum totals 1000 to ensure fair distribution of rewards.

Shared.Reward = {
	{type = "car", 		name = "car", 			count = 1,			probability = {a =   0, b =   1}},	--  0.1 %   0.1 -- VEHICLE
	{type = "money", 	name = "money", 		count = 15000,		probability = {a =   1, b =   5}},	--  0.4 %   0.5 -- 15.000 RP
	{type = "drink", 	name = nil, 			count = 1, 			probability = {a =   5, b =  10}},	--  0.5 %   1.0 -- CLOTHING
	{type = "chip", 	name = Shared.ChipName, count = 25000,		probability = {a =  10, b =  20}},	--  1.0 %   2.0 -- 25.000 chips
	{type = "money", 	name = "money", 		count = 40000,		probability = {a =  20, b =  40}},	--  2.0 %   4.0 -- 40.000 $
	{type = "money", 	name = "money", 		count = 10000,		probability = {a =  40, b =  60}},	--  2.0 %   6.0 -- 10.000 RP
	{type = "drink", 	name = nil, 			count = 1, 			probability = {a =  60, b =  80}},	--  4.0 %   8.0 -- CLOTHING
	{type = "mystery", 	name = nil,  			count = 1, 			probability = {a =  80, b = 120}},	--  4.0 %  12.0 -- MYSTERY
	{type = "chip", 	name = Shared.ChipName, count = 20000,		probability = {a = 120, b = 170}},	--  5.0 %  17.0 -- 20.000 chips
	{type = "money", 	name = "money", 		count = 7500,		probability = {a = 170, b = 250}},	--  5.0 %  22.0 -- 7.500 RP
	{type = "drink",	name = nil, 			count = 1, 			probability = {a = 250, b = 300}},	--  6.0 %  28.0 -- CLOTHING
	{type = "chip", 	name = Shared.ChipName, count = 15000,		probability = {a = 300, b = 340}},	--  6.0 %  34.0 -- 15.000 chips
	{type = "money", 	name = "money", 		count = 30000,		probability = {a = 340, b = 380}},	--  7.0 %  41.0 -- 30.000 $
	{type = "money", 	name = "money", 		count = 5000,		probability = {a = 380, b = 540}},	--  7.0 %  48.0 -- 5.000 RP
	{type = "nothing", 	name = nil, 			count = nil, 		probability = {a = 540, b = 610}},	--  8.0 %  56.0 -- DISCOUNT
	{type = "chip",		name = Shared.ChipName, count = 10000,		probability = {a = 610, b = 640}},	--  8.0 %  64.0 -- 10.000 chips
	{type = "money",	name = "money", 		count = 20000,		probability = {a = 640, b = 700}},	--  8.0 %  72.0 -- 20.000 $
	{type = "money", 	name = "money", 		count = 2500,		probability = {a = 700, b = 810}},	--  9.0 %  81.0 -- 2.500 RP
	{type = "drink", 	name = nil, 			count = 1, 			probability = {a = 810, b = 990}},	--  9.0 %  90.0 -- CLOTHING
	{type = "money", 	name = "money", 		count = 50000,		probability = {a = 990, b = 1000}},	-- 1.0 % -- 50.000 $
}
inote

If you want to change the texture of the wheel I left you the one currently used to do your work on top, we are not responsible for your changes

previoushorsenexttranslate
VAR
Var FiveM

Skrypty FiveM premium. Niski resmon, wysoka jakość. Stworzone dla ESX, QBCore i Standalone.

28skrypty
1,500+sprzedaze

Skrypty

  • Marketplace
  • Pakiety
  • Subskrypcje
  • Kreator motywu

Najpopularniejsze

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

Zasoby

  • Free Scripts
  • Guides
  • Dokumentacja
  • Wsparcie

Firma

  • O nas
  • Kontakt
  • Discord

Informacje prawne

  • Regulamin
  • Prywatność
  • Zwroty

© 2026 Var FiveM. Wszystkie sprzedaze sa ostateczne.

Płatności obsługujeTebex