Real Wallet / Configuration

Wallets & finishes

Item names

Lua
Config.ItemPrefix = 'wallet_'

Every wallet item is named Config.ItemPrefix + its key: wallet_matte, wallet_gunmetal ... and for the leather wallet_leather_<colour>. If you change the prefix, rename the items in ox_inventory/data/items.lua (and their pictures) to match.

The slate

Lua
Config.Slate = { enabled = true }
Config.Finishes = {
    matte    = { label = 'Matte Black',    enabled = true },
    gunmetal = { label = 'Gunmetal',       enabled = true },
    titanium = { label = 'Burnt Titanium', enabled = true },
    rose     = { label = 'Rose Gold',      enabled = true },
    olive    = { label = 'Olive Cerakote', enabled = true },
    silver   = { label = 'Brushed Silver', enabled = true },
    crimson  = { label = 'Crimson',        enabled = true },
}
Setting What it does
Config.Slate.enabled false turns off every slate wallet.
Config.Finishes.<key>.enabled false turns off that one finish.
Config.Finishes.<key>.label The finish's name.

Each finish's prop is ryan_wallet_<key>, so the keys must stay as they are. New finishes need new props.

The leather

Lua
Config.Leather = {
    enabled = true,
    WalletCash = nil,
    Colours = {
        black    = { label = 'Black',    enabled = true },
        espresso = { label = 'Espresso', enabled = true },
        cognac   = { label = 'Cognac',   enabled = true },
        oxblood  = { label = 'Oxblood',  enabled = true },
        navy     = { label = 'Navy',     enabled = true },
        forest   = { label = 'Forest',   enabled = true },
        blush    = { label = 'Blush',    enabled = true },
        stone    = { label = 'Stone',    enabled = true },
    },
    -- (animations, props, slots and the camera: see Advanced and Controls & camera)
}
Setting What it does
Config.Leather.enabled false turns off every leather wallet.
Config.Leather.WalletCash The most cash a leather wallet holds. nil = the same as Config.WalletCash; 0 = none.
Config.Leather.Colours.<key>.enabled false turns off that one colour.

Each colour's prop is ryan_wallet_leather_<key>.

A wallet that is off

  • Using its item does nothing, with no message.
  • What is in it stays in its storage. Turn it back on and everything is there.
  • HasCard / SearchCards still find cards inside it, so your scripts keep working.
  • You can leave its item in ox_inventory/data/items.lua and its line in a shop (or remove it from the shop).
Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.