Loading your character RegisterNetEvent('loadCharacterAppearance')ĪddEventHandler('loadCharacterAppearance', function (encodedAppearance) TriggerServerEvent('saveCharacterCustomization', JSON.encode(appearance)) To use with your “clothes store” script, you could use something like - ClientĮxports:startPlayerCustomization(function (appearance) fivem-appearance:locale: the name of one file inside locales/, default en, choose the locale file for the customization interface.Ĭonfig.cfg example: setr fivem-appearance:customization 1. fivem-appearance:customization: 1 or 0, default 1, toggle the built-in customization interface and customization exports.Keep in mind that you will need to use setr to set these convars. This resource is configurable through convars. If you prefer, you can disable all the customization interface and use just the API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |