GR1M Docs

Clothing

Appearance, clothing and outfits: clothing, barber, tattoo and plastic-surgeon shops with prices and cash/card checkout, a character creator, personal outfits, job lockers with auto uniforms, an admin panel and a green-screen picture tool for item thumbnails.

v0.2.0Needs oxmysql, ox_lib, qbx_core

Framework: Qbox. Requires: oxmysql, ox_lib. Optional: ox_target, GR1M_Bridge (shop income into society accounts), GR1M_Tattoo.

#Install

ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure GR1M_Bridge      # optional, for shop income
ensure GR1M_Clothing

add_ace group.admin gr1m.clothing.admin allow

Tables are created on start (sql/install.sql is a reference copy).

#Switching from rcore_clothing or illenium-appearance

Config.Defaults.mode = 'auto': while rcore_clothing is running, GR1M Clothing only copies every player's look into its own table (shadow mode) and never dresses anyone. Stop rcore_clothing and it takes over, dressed exactly as before. /clothingadmin > Settings > Switch-over shows how many characters are copied.

It also answers the calls other scripts make to rcore_clothing, illenium-appearance and qb-clothing (change room, reload skin, load outfit, set ped skin), so multicharacter, job and housing scripts keep working. For multicharacter, set its clothing option to illenium-appearance.

Importers: gclothing_import (playerskins), gclothing_importshops (rcore shop spots), gclothing_importoutfits, gclothing_importtattoos.

#In game

WhoHowWhat
PlayersShop or locker (ox_target, or marker + E)Clothing / barber / tattoo / surgeon screen, Confirm & Buy, cash or card. Rotate, zoom, pan, freeze pose. Saved outfits.
Players/outfitsWear saved outfits anywhere (setting outfitsAnywhere)
Job membersLockerUniforms per grade; managers save and manage uniforms. Optional auto uniform on duty.
New charactersMulticharacter creatorIdentity, appearance, clothing, tattoos
Admins/clothingadminItems, shops (with money settings), job lockers, custom peds, settings, picture tool
Admins/gclothing [clothing\|barber\|tattoo]Free editor on yourself

#Item pictures

/clothingadmin > Items > pick gender and category > Shoot pictures (or Shoot all missing). You are moved in front of a green wall and each item is photographed on its own. Pictures are saved to thumbs/. Restart the resource afterwards. Tiles show the item number until a picture exists.

#Clothing packs

Drop grzyClothTool or Vestium style packs in their own resource as usual. /clothingadmin > Packs counts drawables per pack, slot and gender and warns about packs over the 128-per-pack sync limit.

#Config

config/defaults.lua holds defaults only; almost everything can be changed live in /clothingadmin (stored in the database).

Support: https://discord.gg/m38m33G6jK