API
Client side
Before shop opens
After shop closes
Called when player's skin is loaded (on spawn or after /reloadskin)
After character creator is finished
Before/after decorations clear
Should not be required, whenever clothing removes decorations, it keeps non-clothing related ones
Reapply clothing decorations
Reload player skin
Save current skin
Open changing room
Shows player's purchased clothes and saved outfits.
Open clothing with everything available, for free
For admins primarily.
After purchasing an item
Open clothing shop
Opens a clothing shop for the player.
shopType
- required, type of the shop, you can open shops defined in config, likebinco
, or write any other typeshopConfig
- optional, table with shop configuration, see Shop configs documentation
Exports
Get skin by identifier
Get current player skin
includeCharacter
- if true, returns character data as well (face, hair, etc.), if false, returns only clothing data
Set player skin
forceReload
- if true, players ped will be reloaded (respawned)
Set ped skin
Server side
Exports
Get skin by identifier
Last updated