Configuration

The few files you can edit in the Casino Wheel Editor.

You design the wheel in game with /wheel_editor, see How it works. The files below cover the rest. Restart gg_casinowheel after you edit one.

FileWhat you change there
config/server/admins.luaWho can use the editor, by license2. See Installation.
config/shared/wheel.luacommand: the editor command, default wheel_editor. Leave the rest of this file as it is: it holds the wheel model, its texture names and the fallback design.
config/lang.luaMessages and the K, M and B number abbreviations
base/client/open/onPlayerLoad.luaEvents that load the zones when a player spawns

Custom frameworks

Zones load when a player spawns. onPlayerLoad.lua already listens for the QBCore, Qbox and ESX player-loaded events and for playerSpawned. If your framework uses a different event, replace myframework:client:OnPlayerLoaded in that file with your event name:

Lua
RegisterNetEvent('myframework:client:OnPlayerLoaded', function()
    GG_CasinoWheel.refreshZones()
end)

Support

Questions before you buy?

Ask the team in our Discord before you pay a thing. Setup help, update notes, giveaways and discount codes, all in one place.

831 online now2,241 members