setPlayerAppearance
The setPlayerAppearance
export allows you to completely apply a saved player appearance, including model, facial features, clothing, hair, props, overlays, tattoos, and more. It combines both model loading and full appearance restoration in a single call.
How to Use
To fully load a saved appearance on a player, use the following code:
This export takes:
appearance
: A table structured exactly like the output ofgetPedAppearance
, containing all relevant appearance data.
Internally, this function:
Sets the ped model using
setPlayerModel
Applies the rest of the appearance (blend, features, overlays, clothing, etc.) using
setPedAppearance
This export is essential for restoring full character appearances, especially after character selection, respawn, or loading from a database.
Last updated