Skip to content

Factions & Universal Uniform ​

Factions don't hand out loose clothing items. Their leaders design uniform sets at Universal Uniform, the GTA outfitter in Del Perro and on Hawick Ave, and publish them to the lockers at their stations. Members change there, and the civilian look waits in the locker until they clock out.

Factions ​

13 lore factions ship, each with its real logo in the locker header and on the designer card:

Faction Default jobs
Los Santos Police Dept. (LSPD) police, lspd
Los Santos County Sheriff's Dept. (LSSD) sheriff, lssd, bcso
San Andreas Highway Patrol (SAHP) sahp, highway, statepolice, trooper
N.O.O.S.E. noose, swat
Federal Investigation Bureau (FIB) fib, fbi
Los Santos Fire Dept. / EMS (LSFD) ambulance, ems, fire, lsfd, firefighter
Merryweather Security merryweather
Gruppe Sechs gruppe6, g6, security, securoserv
Weazel News weazel, reporter, journalist, news
Downtown Cab Co. taxi, cab, downtowncab
Bugstars bugstars, pest, exterminator
GoPostal gopostal, postal, mail
Lifeinvader lifeinvader

A player belongs to the faction whose jobs list holds their framework job (first match wins, so a job name belongs in one faction only). Add the job names your server uses. Leaders are the grades in leaderGrades, or, when it is nil, whoever the framework marks as boss (ESX grade name boss, qb / qbx isboss). Staff with np_clothing.uniform may design for any faction.

Universal Uniform: the designer ​

Universal Uniform

At a Config.Outfitters point, a leader opens the designer for their faction:

  • Top: the faction's sets (Class A, Class B, Motor, SWAT, Detective, Ceremony, Gym …) and New set, up to Config.Uniform.maxSets.
  • Left and bottom: the slot grid and the pieces the faction may issue: public pieces plus its own faction-only packs (EUP and similar). Faction-only pieces never appear in public stores.
  • Right: the set with a male and a female variant, one rule per slot, the ranks it is issued to, the certifications it requires, Save draft, Preview on your own ped, the change log, and Publish.

Slot rules ​

Rule Effect
Fixed Always this piece
Choice of N The member picks one of up to Config.Uniform.maxChoices approved pieces in the locker
Optional One piece the member may wear or leave off (with a default)
Auto · rank The piece comes from the member's grade, e.g. rank insignia and badge decals in Config.Uniform.decals.slot (c10)
Auto · duty Worn only while on duty, e.g. armour in c9
Forbidden The slot stays at its default (a prop is removed), e.g. no masks on patrol

While a set is worn, fixed, auto and forbidden slots are locked: stores, the wardrobe and quick toggles leave them alone. Choice and optional slots can only be changed in the locker.

Rank and certifications Choice of N
Ranks Choice

Issuing and certifications ​

A set is issued to a list of ranks (or all) and may require certifications: Motor, SWAT, Detective, K-9, Air Support for LSPD, Paramedic and Firefighter for LSFD, and so on (certs per faction). Leaders grant and revoke them per member under Manage members.

Publishing ​

Edits stay a draft until the leader publishes. Publishing:

  1. runs the beforeUniformPublish hook;
  2. charges the faction: orderPrice × members to Universal Uniform, through np_payments from the faction or business account, or without it per Config.Payment.factionFallback;
  3. raises the version (Class A v3 → v4) and writes the change log;
  4. refits every online member who wears the set, with a toast "Class A updated to v4", and fires np_clothing:uniformPublished.

A faction can publish once per Config.Uniform.publishCooldown (an hour by default).

Designers are trusted

A published set is written to np_character as trusted: for members who wear exactly that set, its pieces skip np_character's job blacklist. Whoever designs the set (the faction's leaders, or staff with np_clothing.uniform) decides that for every member. Only give the designer to people you trust with it.

Lockers ​

Locker

At a Config.Lockers station of their faction, members see the sets issued to them. Sets their rank or certifications don't allow are shown locked with the reason. They pick their choices and optional pieces, then:

  • Change (clock in & change): the civilian look goes into the locker, the set goes on, and the member goes on duty where the framework has duty.
  • Change without clocking in, for briefings.
  • Civilian: put the civilian look back on (and clock out).

With Config.Uniform.clockOutRestores, going off duty anywhere (framework, np_phone) also restores the civilian look. Losing the job or leaving the faction does the same. The change takes Config.Uniform.changeSeconds (-1 = the wardrobe's quick change time). Uniform pieces are never owned: they come with the set.

Off duty Locked set
Off duty Locked

Staff with np_clothing.uniform can put a set on or take it off a player with the np_admin staff action Force uniform. Other resources read what a player wears with getUniform.

Config ​

lua
Config.Factions = {
  { id = 'lspd', label = 'Los Santos Police Dept.', short = 'LSPD', logo = 'lspd', kind = 'police',
    jobs = { 'police', 'lspd' }, leaderGrades = nil, orderPrice = 85,
    certs = { { id = 'motor', label = 'Motor' }, { id = 'swat', label = 'SWAT' }, … } },
  -- …
}
Config.Outfitters = {
  { id = 'uu_delperro', label = 'Universal Uniform', area = 'Del Perro', street = 'Prosperity St.',
    coords = vector4(-1336.42, -483.64, 33.47, 210.0), radius = 3.0, blip = { sprite = 366, colour = 0, scale = 0.7 } },
  { id = 'uu_hawick', … },
}
Config.Lockers = {
  { id = 'mrpd', faction = 'lspd', label = 'Locker Room', area = 'Mission Row', station = 'Police Station', coords = …, … },
  -- 20 stations across the 13 factions
}
Config.Uniform = {
  maxSets = 10, maxChoices = 8, publishCooldown = 3600, changeSeconds = -1, clockOutRestores = true,
  keepOnReconnect = true, decals = { slot = 'c10' }, icons = { … }, defaultIcon = 'shield-halved',
}
Config.Factions field Description
id / label / short / logo Faction id, names and logo (assets/logos/svg/<logo>.svg)
kind police, medical or company
jobs Framework job names that belong to the faction
leaderGrades Grades that lead it; nil = the framework's boss flag
certs { id, label } certifications a leader can grant and a set can require
orderPrice Universal Uniform's price per member and set, charged when a set is published
enabled false hides the faction everywhere
Config.Uniform Description
maxSets / maxChoices Sets per faction (drafts included); pieces in one choice rule
publishCooldown Seconds between two publishes of the same faction
changeSeconds Locker change duration; -1 = Config.Wardrobe.quickSwitchSeconds
clockOutRestores Going off duty anywhere puts the civilian look back on
keepOnReconnect A member who reconnects in uniform keeps it
decals.slot The slot auto · rank rules use for insignia and badge decals
icons / defaultIcon Locker icon per keyword in a set's name (Font Awesome)

Outfitter and locker coordinates stand at the shop fronts and the vanilla stations. Move them into your MLO interiors if you use any.