Lucky Wheel
Physical Lucky Wheel prop with weighted prizes, DUI faces, and an optional podium vehicle prize.
Resource
luaensure tgg-slots-server ensure tgg-casino-tables
Podium vehicle
Per-wheel settings in Admin → Lucky Wheel settings:
- Spawn preview vehicle (checkbox) + preview coords
- Vehicle model (spawn code) and captured tuning (
vehicleProps) - Exclusivity: week / biweek / month
- Sync with other wheels (shared exclusivity among sync-enabled wheels)
- Arm delivery — enables the configured drive-in marker; drive a tuned vehicle into it to capture model + mods
Delivery marker coords are set once in tgg-casino-tables/config/luckywheel.lua → Config.Luckywheel.VehicleDelivery.
Grant hook — GiveVehicle
When a player wins the vehicle prize, the server calls:
luaGiveVehicle(source, vehicleProps, meta)
Implement this in:
tgg-casino-tables/server/custom/vehicle/GiveVehicle.lua
| Arg | Meaning |
|---|---|
source | Winner server id |
vehicleProps | Full properties table (model, colors, mods, plate, …) |
meta | { tableId, machineId, model, label } |
Return true on success. Until implemented, vehicle wins fail closed and log a stub warning.
See also Integrations.