Skip to main content

Stores

Each entry of stores is one point in the world. Players walk into it, see a prompt and press the interact key.
config.lua
The default list holds 14 clothing stores, 7 barbers, 6 tattoo parlors and 1 surgeon at the game’s shop doors. Check them on your server, since custom maps move doors.
A job locker room is a wardrobe with job set and blip = false. Officers see their saved outfits and uniforms there, for free.

Saved outfits

At clothing stores and wardrobes, the Outfits tab lists the character’s saved outfits.
  • Save current outfit saves the clothes and accessories the character has paid for, not the preview. A preview never becomes a free outfit.
  • Wear puts an outfit on for free.
  • At most maxOutfits per character. Names are 1 to 32 characters.
Outfits belong to the character and are stored in ug_outfits.

Uniforms

Uniforms are outfits you define for a job or gang. They show in the Outfits tab of clothing stores and wardrobes for members only, and are worn for free.
config.lua
  • The key is a job or gang name from ug-core.
  • grades limits a uniform to those grades. Without it, every grade sees it.
  • male and female match the freemode models. Pieces left out stay as they are.
  • Component names: mask, arms, legs, bag, shoes, accessory, undershirt, armor, decals, top. Prop names: hat, glasses, ears, watch, bracelet. A prop drawable of -1 removes it.
The server filters uniforms by the player’s job or gang and grade every time, so changing jobs takes effect at once.

Opening stores from code

Housing, job and admin resources MAY open a store without a point. See Integration.