v1.1.0: Added customization config options, now you can choose wich options will be available inside customization.It’s my first public release here, so consider it as a test. If there is something that you would like to add, feel free to contribute to the project on Github. In order for something to happen you will need to consume the exports.Īlso, there are some features missing that i’m working on, like tattoos. Local appearance = code(encodedAppearance)Įxports:setPlayerAppearance(appearance) Loading your character RegisterNetEvent('loadCharacterAppearance')ĪddEventHandler('loadCharacterAppearance', function (encodedAppearance) A Qbcore Store with best quality products and lifetime support for all the products. TriggerServerEvent('saveCharacterCustomization', JSON.encode(appearance)) XD Development FiveM Store QBCore, ESX, MLOs, Vehicles & More. 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 |