Skip to content

Wardrobe & outfits ​

The wardrobe is where players dress from what they own, save outfits and share them. It opens at a configured closet point (press E), or from any housing script through openWardrobe.

Wardrobe

The wardrobe screen ​

  • Left: the wardrobe header (label, address, owned pieces and capacity) and the slot grid with how many pieces you own per slot.
  • Bottom centre: your pieces of the chosen slot. Picking one puts it on as a preview.
  • Right: your outfits, the share code of the last outfit you shared, and Got a share code?.
  • Save clothes makes the previewed look your look. Closing without saving puts the old look back.

A piece whose pack isn't streamed right now stays in the list, grey with an orange warning: hidden, not lost. It comes back when the pack is streamed again. See Catalogue → Missing packs.

Outfits ​

Outfit menu Up to Config.Wardrobe.maxOutfits (12) named outfits per character. Save current look saves what you wear. Each outfit can get a hotkey F1–F4, be renamed, replaced with the current look, shared or deleted. An outfit can be marked as a job outfit for your current job

Wearing an outfit skips the slots you can't wear: a piece you don't own (in ownership mode owned), an unavailable piece, or a slot that is locked. The answer lists the skipped slots.

Faction-only pieces (EUP and other packs flagged in the pack manager) are for members of that faction only, in every ownership mode: the wardrobe refuses them for anyone else (piece_not_allowed), and personal or shared outfits never keep them: they are saved with the slot's default instead. Uniforms come from the locker.

Quick switch ​

Outfits on hotkeys 1–4 can be worn anywhere, with the change animation (Config.Wardrobe.quickSwitchSeconds, 4 s). The server refuses an apply before 80 % of that time. It is refused in a vehicle, in combat, while ragdolled, falling or swimming, cuffed or dead.

  • Key bindings: Settings → Key Bindings → FiveM, four entries, unbound by default (Config.QuickSwitch.keys).
  • Chat: /outfit <1-4> (Config.QuickSwitch.command).
  • Inside the wardrobe, F1–F4 wear the outfit directly.

Share codes ​

Share turns an outfit into a code like NPC-7K3Q-M9XD that expires after Config.Wardrobe.shareDays (7) days. With np_phone running, the code is also mailed to you (Config.WardrobeSession.shareMail).

Shared outfit

The receiver enters it under Got a share code? and sees every piece: which ones they own, which they don't, and the nearest store that stocks each missing one. They can save the outfit; pieces they don't own are skipped when they wear it until they buy them. Codes work between servers that stream the same packs, because they hold piece ids, not numbers.

Quick toggles ​

Take single pieces off and put them back without opening a screen: hat, glasses, mask, top, shirt, vest, pants, shoes, bag, chain, ears, watch, bracelet, gloves, plus put everything back on.

  • With np_menu running, its Clothing tile (F1 menu and radial) opens the toggles. np_clothing adds no radial item of its own.
  • /clothes <word> toggles one slot: hat, glasses, mask, top, shirt, vest, pants, shoes, bag, chain, ears, watch, bracelet, gloves. /clothes restore puts everything back. Without np_menu, /clothes alone lists the words. There is a bindable key for it too.
  • Other resources open it with the client export openQuick().

Config.Toggles lists the slots that can be toggled.

Locked slots ​

Some slots belong to someone else for a while:

  • Uniforms: fixed, auto and forbidden slots of a worn uniform set (see Factions).
  • np_gangs bandana: while the bandana is on, the mask slot (c1) belongs to np_gangs.

Stores, the wardrobe, outfits and toggles leave a locked slot as it is and say so once. Staff tools and exports with force ignore locks.

Character load ​

When a character loads, the wardrobe puts their stored look back on. With np_character it waits until np_character has applied its own appearance; otherwise it waits Config.WardrobeSession.loadDelay after the framework load.

First load. For a character without a stored look, the server reads what the ped wears (this needs OneSync; the client is never asked; Config.WardrobeSession.firstLoadImport). The read must be stable: two reads about a second apart must agree and not be all defaults, within Config.WardrobeSession.startReads (5) attempts; otherwise nothing is stored and the next load tries again. Only cheap, available pieces that aren't faction-only become owned (source start): Config.WardrobeSession.startMaxPrice = 0 (the default) grants only base-game pieces without a label, a higher value grants every piece whose plain price is at most that. The stored look keeps only pieces the character owns afterwards (granted now or owned before) plus slot defaults; anything else the ped wore is dropped. It happens once per character. Without OneSync nothing is read, granted or stored.

Config ​

lua
Config.Wardrobes = {
  { id = 'apt_lowend', label = 'Apartment', address = 'Low-end apartment interior',
    coords = vector3(259.76, -1003.67, -99.01), radius = 1.5, capacity = 60, blip = false, enabled = true },
  -- apt_midrange, house_franklin, house_michael, trailer_sandy, apt_vespucci,
  -- motel_pinkcage / motel_perrera / motel_sandy (examples, disabled)
}
Config.QuickSwitch = { enabled = true, keys = { '', '', '', '' }, mapping = 'keyboard', command = 'outfit' }
Config.WardrobeSession = { perPage = 5, exportRadius = 8.0, firstLoadImport = true, startMaxPrice = 0, startReads = 5, loadDelay = 2000,
  characterTimeout = 20000, shareMail = true }
Config.Wardrobes field Description
id Unique id ([a-z0-9_])
label / address Header text
coords / radius The closet and the prompt radius. The session ends 5 m further out
capacity Shown as capacity (informational)
blip / enabled false or { sprite, colour, scale }; enabled = false hides the point

The shipped points are the closets of the story houses and the two GTA Online apartment interiors most housing scripts reuse. The motel rooms are examples: point them at your motel's room interior and enable them. Housing scripts don't need a point: they call openWardrobe(src, { id, label, capacity }) while the player stands at their closet.

Option Description
QuickSwitch.keys / mapping Default key per hotkey ('' = unbound) and the input mapper
QuickSwitch.command The chat command (/outfit <1-4>)
WardrobeSession.perPage Pieces per strip page
WardrobeSession.exportRadius A wardrobe opened by an export lives where the player stood; it ends beyond this + 5 m
WardrobeSession.firstLoadImport See First load
WardrobeSession.startReads Attempts at a stable read of the ped for the first-load import (two reads, 1 s apart, must agree)
WardrobeSession.startMaxPrice 0 = the first-load import grants only base-game pieces without a label; > 0 = pieces whose plain price (override, else base price × label factor) is at most this
WardrobeSession.loadDelay / characterTimeout Milliseconds after the framework load before the look is applied, and how long to wait for np_character
WardrobeSession.shareMail Mail new share codes through np_phone