ug_appearances or ug_outfits tables yourself.
Server exports
Server
The player MUST have a loaded character, or the result is
false, 'not_loaded'. Your resource is trusted: check distance, ownership or job yourself before you call.
server.lua
Client exports
ClientOpenCreator and Fetch MUST run in a thread.
Character selection
ug-multicharacter uses the client exports when ug-appearance is started. Nothing to configure:
- The lineup shows each character in its saved look.
- After the creation form, the creator opens over the new character. Its model replaces the body chosen in the form. Cancelling returns to the form with the values kept.
- The character is created, then
ug-appearancesaves the look for it on the server. - Playing a character puts its look on the player.
models here and appearance.models in ug-multicharacter’s config the same. A model that is only in one list is refused when the character is created.
See the appearance contract on the ug-multicharacter side.
Loading
When ug-core loads a character,ug-appearance dresses the player with the saved look. Resources that change the player’s model, such as a ped menu, SHOULD call Apply with GetAppearance afterwards to restore it.