Events
The events of the appearance script that other scripts can use, with arguments and examples
9 min read ยท Updated Dec 3, 2026
These client events open the menus and run the actions of the appearance script. Send them with TriggerEvent from a client script or TriggerClientEvent from a server script.
The server events of the script are used between its own client and server. Other scripts should not rely on them, except illenium-appearance:server:saveAppearance shown in Exports.
Shops
illenium-appearance:client: openClothingShop
Opens the clothing window.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
isPedMenu | boolean | No | true also shows model, face and tattoos, and nothing is charged. |
How to use it
TriggerEvent('illenium-appearance:client:openClothingShop', false)
Good to know
- Without
isPedMenuthe player needs the price of the clothing shop and pays when they save. - Send
trueonly to players you trust, for example from a server script after a permission check.
illenium-appearance:client: openClothingShopMenu
Opens the clothing shop menu, with the shop and the saved outfits.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
isPedMenu | boolean | No | true for the full ped menu. |
How to use it
TriggerEvent('illenium-appearance:client:openClothingShopMenu')
illenium-appearance:client: OpenBarberShop
Opens the barber: hair, beard and make up. The price is paid when saved.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:OpenBarberShop')
-- server script
TriggerClientEvent('illenium-appearance:client:OpenBarberShop', source)
illenium-appearance:client: OpenTattooShop
Opens the tattoo shop. The price is paid when saved.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:OpenTattooShop')
-- server script
TriggerClientEvent('illenium-appearance:client:OpenTattooShop', source)
illenium-appearance:client: OpenSurgeonShop
Opens the surgeon: parents and face. The price is paid when saved.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:OpenSurgeonShop')
-- server script
TriggerClientEvent('illenium-appearance:client:OpenSurgeonShop', source)
Outfits
illenium-appearance:client: openOutfitMenu
Opens the menu of saved outfits.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:openOutfitMenu')
-- server script
TriggerClientEvent('illenium-appearance:client:openOutfitMenu', source)
illenium-appearance:client: openJobOutfitsMenu
Opens the work outfit menu.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
outfits | table | Yes | List of outfits, each with a name and its clothing data. |
How to use it
TriggerEvent('illenium-appearance:client:openJobOutfitsMenu', Config.Outfits['police']['Male'])
Good to know
Confighere is the config table of your own script holding outfits in the same shape.
illenium-appearance:client: loadJobOutfit
Puts a uniform on the player.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
outfit | table | Yes | { outfitData = table or JSON string, name, jobName, gender }. outfitData keys: pants, arms, t-shirt, vest, torso2, shoes, decals, accessory, mask, bag, hat, glass, ear, each { item, texture }. |
How to use it
TriggerEvent('illenium-appearance:client:loadJobOutfit', {
name = 'Cadet',
jobName = 'police',
gender = 'male',
outfitData = {
['torso2'] = { item = 15, texture = 0 },
['pants'] = { item = 24, texture = 0 },
['hat'] = { item = -1, texture = 0 },
},
})
illenium-appearance:client: saveOutfit
Asks for a name and saves what the player wears as an outfit.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:saveOutfit')
-- server script
TriggerClientEvent('illenium-appearance:client:saveOutfit', source)
illenium-appearance:client: importOutfitCode
Asks for a name and a code, and imports that outfit.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:importOutfitCode')
-- server script
TriggerClientEvent('illenium-appearance:client:importOutfitCode', source)
illenium-appearance:client: generateOutfitCode
Makes a share code for a saved outfit and copies it.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Id of a saved outfit. |
How to use it
TriggerEvent('illenium-appearance:client:generateOutfitCode', outfitId)
illenium-appearance:client: updateOutfit
Overwrites a saved outfit with what the player wears.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
outfitId | number | Yes | Id of a saved outfit of the player. |
How to use it
TriggerEvent('illenium-appearance:client:updateOutfit', outfitId)
illenium-appearance:client: changeOutfit
Puts a saved outfit on.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
data | table | Yes | { model, components, props, name, type, disableSave }. disableSave = true treats it as a uniform and does not overwrite the saved look. |
How to use it
local ped = PlayerPedId()
TriggerEvent('illenium-appearance:client:changeOutfit', {
model = exports['illenium-appearance']:getPedModel(ped),
components = outfit.components,
props = outfit.props,
name = 'Event shirt',
disableSave = true,
})
illenium-appearance:client: deleteOutfit
Deletes a saved outfit and notifies the player.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Id of the outfit. |
How to use it
TriggerEvent('illenium-appearance:client:deleteOutfit', outfitId)
Job and gang management
illenium-appearance:client: OutfitManagementMenu
Opens the outfit management of a job or gang (boss menu).
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
args | table | Yes | { type = 'Job' or 'Gang' }. |
How to use it
TriggerEvent('illenium-appearance:client:OutfitManagementMenu', { type = 'Job' })
Good to know
- Check that the player is a boss before you offer it.
illenium-appearance:client: SaveManagementOutfit
Saves what the player wears as a job or gang outfit, after asking for the details.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Job or Gang. |
How to use it
TriggerEvent('illenium-appearance:client:SaveManagementOutfit', 'Job')
illenium-appearance:client: DeleteManagementOutfit
Deletes a job or gang outfit.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Id of the outfit. |
How to use it
TriggerEvent('illenium-appearance:client:DeleteManagementOutfit', outfitId)
Outfit rooms
illenium-appearance:client: OpenClothingRoom
Opens the work outfits of the clothing room the player stands in.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:OpenClothingRoom')
-- server script
TriggerClientEvent('illenium-appearance:client:OpenClothingRoom', source)
Good to know
- Only works inside a clothing room zone of the config.
illenium-appearance:client: OpenPlayerOutfitRoom
Opens the private outfit room the player stands in.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:OpenPlayerOutfitRoom')
-- server script
TriggerClientEvent('illenium-appearance:client:OpenPlayerOutfitRoom', source)
Good to know
- Only works inside a player outfit room zone of the config.
Utility
illenium-appearance:client: reloadSkin
Loads the saved look again.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
bypassChecks | boolean | No | true skips the cooldown. |
How to use it
TriggerEvent('illenium-appearance:client:reloadSkin', true)
Good to know
- It fails, with a notification, in a vehicle, while falling, or when the player state does not allow it.
illenium-appearance:client: ClearStuckProps
Deletes objects stuck on the player.
Side: Client
Fires when: you trigger it.
Arguments
None.
How to use it
-- client script
TriggerEvent('illenium-appearance:client:ClearStuckProps')
-- server script
TriggerClientEvent('illenium-appearance:client:ClearStuckProps', source)
Good to know
- Has the same cooldown as
reloadSkin.
illenium-appearance:client: notify
Shows the notification of the appearance menu.
Side: Client
Fires when: you trigger it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
data | table | Yes | { title, description, type = 'success', 'error' or 'inform', duration }. |
How to use it
TriggerClientEvent('illenium-appearance:client:notify', source, {
title = 'Wardrobe',
description = 'New outfit added',
type = 'success',
})
Old QBCore events (Qbox and QBCore)
Events of qb-clothing that the script answers, so older scripts keep working.
qb-clothing:client: openMenu
Opens the full appearance menu, free of charge.
Side: Client
Fires when: an older script triggers it.
Arguments
None.
How to use it
TriggerEvent('qb-clothing:client:openMenu')
qb-clothing:client: openOutfitMenu
Opens the saved outfits.
Side: Client
Fires when: an older script triggers it.
Arguments
None.
How to use it
TriggerEvent('qb-clothing:client:openOutfitMenu')
qb-clothing:client: loadOutfit
Puts a uniform on the player, the same as loadJobOutfit.
Side: Client
Fires when: an older script triggers it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
outfit | table | Yes | { outfitData, name, jobName, gender }. |
How to use it
TriggerEvent('qb-clothing:client:loadOutfit', { outfitData = uniform })
qb-multicharacter:client: chooseChar
Clears tattoos and the outfit cache when the player goes back to the character selection.
Side: Client
Fires when: the character selection opens.
Arguments
None.
How to use it
TriggerEvent('qb-multicharacter:client:chooseChar')
Old ESX events
Events of esx_skin and skinchanger that the script answers on ESX.
esx_skin: openSaveableMenu
Opens the character creation menu.
Side: Client
Fires when: an older script triggers it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
onSubmit | function | No | Called after saving. |
onCancel | function | No | Called when cancelled. |
How to use it
TriggerEvent('esx_skin:openSaveableMenu', function()
print('saved')
end, function()
print('cancelled')
end)
esx_skin: resetFirstSpawn
Marks the next registration as a first spawn.
Side: Client
Fires when: an older script triggers it.
Arguments
None.
How to use it
TriggerEvent('esx_skin:resetFirstSpawn')
esx_skin: playerRegistered
Opens the character creation after resetFirstSpawn.
Side: Client
Fires when: an older script triggers it.
Arguments
None.
How to use it
TriggerEvent('esx_skin:playerRegistered')
skinchanger: getSkin
Gives the saved appearance to a callback.
Side: Client
Fires when: an older script triggers it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
cb | function | Yes | Receives the appearance table. |
How to use it
TriggerEvent('skinchanger:getSkin', function(skin)
print(skin and skin.model)
end)
skinchanger: loadSkin
Applies an appearance to the player.
Side: Client
Fires when: an older script triggers it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
skin | table | Yes | Appearance with model. |
cb | function | No | Called when done. |
How to use it
TriggerEvent('skinchanger:loadSkin', skin)
skinchanger: loadSkin2
Applies an appearance to a ped.
Side: Client
Fires when: an older script triggers it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
ped | number | Yes | Ped entity. |
skin | table | Yes | Appearance table. |
How to use it
TriggerEvent('skinchanger:loadSkin2', ped, skin)
skinchanger: loadClothes
Puts clothes in the old format on the player.
Side: Client
Fires when: an older script triggers it.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
playerSkin | table | Yes | Not read. |
clothes | table | Yes | Clothes in the skinchanger format. |
How to use it
TriggerEvent('skinchanger:loadClothes', skin, { torso_1 = 15, torso_2 = 0 })