Events & Exports
Comprehensive instructions on configuring files and utilising export functions.
Events
-- You can use this event to display the character creation menu for new character.
-- You can use 'crm-male' or 'crm-female'.
TriggerEvent('crm-appearance:init-new-character', 'crm-male', function()
-- execute something after play click save appearance button.
end)
-- You can use this event to display the character outfits menu!
-- You can use in your apartment/housing script!
TriggerEvent('crm-appearance:show-outfits')
-- You can use this event to display the character creator menu!
TriggerEvent("crm-appearance:show-creator-menu")
-- You can use this event to laod player skin!
TriggerEvent("crm-appearance:load-player-skin")
-- You can use this event to display the store clothing menu!
TriggerEvent("crm-appearance:show-clothing-menu")
-- You can use this event to display the barbershop menu!
TriggerEvent("crm-appearance:show-barber-menu")
-- You can use this event to display the plasticsurgery menu!
TriggerEvent("crm-appearance:show-plasticsurgery-menu")
-- You can use this event to display the job outfits menu!
TriggerEvent('crm-appearance:show-job-outfits', 'police')
-- Export to save player appearance in database.
local crm_data = nil -- If crm_data is nil, script will get the ped appearance.
exports['crm-appearance']:crm_save_appearance(crm_data , function()
print('appearance save')
end) -- Multicharacter Export
All Exports
Export
Parameters
Return
Last updated