SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
    • Features
    • Installation
    • Framework Setup
    • Core Settings
    • Characters and Slots
    • Identity
    • Spawn Selector
    • Camera and Scene
    • Arrival and Welcome
    • Starting Items
    • Loading Screen
    • Discord
    • Logs
    • Theme and Branding
    • Translations
    • Commands and Permissions
    • Database
    • Integrations
    • Hooks
    • Exports and Events
    • Examples
    • Security
    • Troubleshooting
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
  • 🚌Bus Job
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Multicharacter
  3. /Starting Items

Multicharacter

Starting Items

config/startingitems.lua - starter basket with a budget for items and vehicles.

On this page3 sections
  • Main options
  • Item fields
  • How it works

When creating a character, the player gets a budget and picks what to take on the start.

Lua
Config.StartingItems = {    enabled    = true,    budget     = 6500,    allowEmpty = true,    items = {        { key = 'sandwich', item = 'sandwich',     label = 'Sandwich',     price = 500,  max = 5, default = 3 },        { key = 'water',    item = 'water',        label = 'Water',        price = 250,  max = 5, default = 3 },        { key = 'phone',    item = 'phone',        label = 'Phone',        price = 1500, max = 1, default = 0 },        { key = 'energy',   item = 'energy_drink', label = 'Energy drink', price = 750,  max = 3, default = 0 },        { key = 'car',  item = 'blista', label = 'Small car', price = 2000, max = 1, default = 1, kind = 'vehicle', image = 'nui://ox_inventory/web/images/blista.png' },        { key = 'bike', item = 'bmx',    label = 'Bicycle',   price = 800,  max = 1, default = 0, kind = 'vehicle', image = 'nui://ox_inventory/web/images/bmx.png' },    },    itemImages = 'auto',    grant      = 'auto',}

Main optionsLink copied

OptionDescription
enabledShows the screen when creating a character.
budgetAmount to spend. Unspent money is lost.
allowEmptyLets the player continue without picking anything.
itemImagesImage source: 'auto', 'ox_inventory', 'qb_inventory', 'qs_inventory', or false.
grantInventory that receives the items: 'auto', 'ox_inventory', 'qb_inventory', 'qs_inventory', 'esx', or false. With false, the choice is saved and granting is left to your hook.

Item fieldsLink copied

FieldDescription
keyUnique key.
itemInventory item name. For a vehicle, the spawn name.
labelName on the card.
pricePrice per unit.
maxMaximum units. 1 means yes or no.
defaultUnits in the basket at start.
kindLeave out for normal items. 'vehicle' does not go to the inventory, only to the hook.
imageOptional custom image, a path in web/dist/ or nui://. Without it, the inventory image is used.

How it worksLink copied

  1. 1.
    The player picks items. The server checks the budget, limits, and keys.
  2. 2.
    OnStartingItemsPicked runs. It is informational only, the character has no inventory yet.
  3. 3.
    When the character is selected and its inventory exists, normal items are granted.
  4. 4.
    OnStartingItemsGranted runs with the full list. Add vehicles to your garage here.

The basket is used once. A relog does not grant the same items again.

The resource has no garage and does not know which one you use.

Pass vehicles (kind = 'vehicle') to your garage in OnStartingItemsGranted. See Examples for ESX and QBCore.

← PreviousArrival and WelcomeMulticharacterNext β†’Loading ScreenMulticharacter

On this page

  • Main options
  • Item fields
  • How it works
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex