Events/Functions
All events and functions.
navSelect
Single Value of array
Initial route of NUI, value must exist in navList
navList
array
Allows to display selected tabs in NUI
closeButton(?)
boolean
Disables close button in NUI (useful for creating your first skin)
outfits(?)
array
Table with job outfits
roomOutfits(?)
array
Table with job/gang outfits
creatorMode(?) [!]
boolean
Enables creating/removing job/gang outfits
grades(?)
Framework.Jobs[Framework.Job].grades or Framework.Gangs[Framework.Gang].grades
Just data with QBCore jobs/gangs grades
Example Usage
Displays in NUI only head_overlay (makeups etc.) , hair_styles (chest hair, hair, eyebrows), clothes (components, props)
Initial route is hair_styles
Close button forces player to save skin (doesn't have option to close skinchanger without saving skin)
exports['nf-skin']:OpenMenu({
navSelected = 'hair_styles',
navList = {
'head_overlay', 'hair_styles', 'clothes'
},
closeButton = false
})Example Usage of job/gang outfits
Outfits: Loads your wardrobe clothes
RoomOutfits: Loads clothes from your job by grade (from config and DB)
CreatorMode: enables option to edit job DB clothes
Grades: If creatorMode is true
When you use ActionType “zone”, text is displayed, you can change the script to a different one.
Last updated