Real Wallet / Reference

Troubleshooting & FAQ

Start with /walletcheck (F8) and the server console's [ryan-wallet] lines: Commands, Console messages.

Troubleshooting

Problem Fix
Nothing happens when the wallet item is used Check the server console: the item missing in ox_inventory, stack = false missing, or that wallet turned off in config.lua (a wallet that is off does nothing, on purpose). Check the item has client = { export = 'ryan-wallet.useWallet' }.
"That wallet is not on you." The wallet left that slot (moved, dropped) before it came out. Use it again.
"Your hands are full." A weapon is in hand (or the last wallet is still going back in the pocket). Using another wallet item while one is out does nothing.
"The wallet could not be loaded." The animations did not load: the player has not downloaded the streamed files. Have them reconnect. Check the folder is named ryan-wallet.
The wallet comes out invisible, or the props are missing The streamed files did not load: restart the server fully and have players reconnect. Do not remove the data_file lines from fxmanifest.lua.
"Not on this." / "Stop the vehicle first." / "Take your leather wallet out on foot." See In vehicles.
A card does not go in the wallet ("There is no card in your pockets.") Its item name is not in Config.Cards, or it has enabled = false. /walletcheck lists the cards it sees.
"Your wallet is full." A wallet holds Config.Storage.slots items (8 by default), cards and cash together.
The card shows the wrong name, or no name The item's metadata uses names that are not in Config.CardFields. See Step 3 of the ID guide.
No photo on my own card Config.RealCards.photo is false, or the headshot failed. Set it to 'headshot', or install MugShotBase64 for 'auto'.
No photo on someone else's card The card item carries no photo in its metadata, or under a name not in Config.CardFields.photo.
My card art shows, but not the details Check the text lines (field names, positions inside 1024 x 646). With no text the image shows alone.
My card art does not show The image must be a .png in ryan-wallet/cards/, named in art = 'cards/<file>.png'. Only 12 items can have art. Restart.
An ATM / /showid / a police check says "no card" while the card is in the wallet That script only looks in the inventory. See Step 6 of the ID guide.
My ID script's screen does not open for a shown card The event name or data is different in your version: check its server code for the event it sends to show a card. Errors print in the server console.
"You already carry a wallet." Config.OnePerPlayer is on. Stealing one is always allowed.
"Your wallet only holds $10,000." The cash limit: Config.WalletCash (or Config.Leather.WalletCash).
"You can not carry that much." The player's pockets can not carry the wallet's cash. Free some weight.
The keys do nothing They only work while a wallet is out. A player may have changed them in Settings → Key Bindings → FiveM.
A player's wallet animation looks wrong after an update The player has old streamed files. Have them reconnect (or clear their FiveM cache).

FAQ

Does it work with qb-inventory, qs-inventory or another inventory? No. Every wallet's storage is an ox_inventory stash, and every card is an ox_inventory item. ox_inventory is required.

Do I have to change my ID card or bank script? No. List your card items in Config.Cards and they work in the wallet. Only scripts that check for an item in the player's inventory need a small change, or keep those items out of the wallet. See Your own ID and bank scripts.

Can players open a wallet in the inventory screen? No. A wallet is only worked with the hands. Its storage is locked to the inventory screen, even with its id.

Can a stolen wallet be used? Yes. That is the point: the cards and cash are inside. The cards still belong to their owner, and a shown stolen ID shows the owner.

Can players see each other's details? Only on a card that is shown to them. Wallets and cards in other players' hands are plain props.

Can I add my own wallet models or colours? The finishes and colours are matched to the streamed props, so new ones need new props. You can turn off the ones you do not want.

Does it work in every vehicle? The slate works in any seat of a car, van or truck. Not on bikes, boats, aircraft or trains. The leather is used on foot.

Does it use ox_target? No. Everything is done with the item and the mouse.

Can I change the keys? Yes: the server defaults in Config.Keys, and each player in Settings → Key Bindings → FiveM.

Is the cash in a wallet spendable? No. It is not in the player's pockets until it is taken out with V.

What happens to wallets when I update or restart? Nothing. Their contents are saved by ox_inventory in your database.

Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.