pedr0fontoura / fivem-appearance

👀 A flexible player customization script for FiveM.
https://forum.cfx.re/t/release-fivem-appearance/2438537
MIT License
120 stars 72 forks source link

Possibility to be able to specify the components/props that can be displayed and modified. #90

Open Slayzehh opened 1 year ago

Slayzehh commented 1 year ago

Hello,

Currently it is possible to define if we want to display "components", "props" ect individually.

My request concerns the possibility of being able to define which "components" or "props" can be displayed and modified by the player.

For example :

local config = {
    components = true, 
    componentsIds = {1, 5}, -- FOR EXAMPLE
    props = true,
    propsIds = {3}, -- FOR EXAMPLE
    allowExit = true
}

exports['fivem-appearance']:startPlayerCustomization(function (appearance)
end, config)

What is the point ?

This can make it possible to be able to create stores of earrings, stores of masks without people being able to change everything except what is specified.

Thanking you in advance if someone is kind enough to realize this. I don't think I'm the only one whose life this will save.

@franfdezmorales @pedr0fontoura @dkden7e <3