⚔️Export and Events
EXPORTS
SERVER EXPORTS = > ONLY FOR OWNSYSTEM STYLE
CHAR CREATE - PART
With these exports, you can pull all clothing and skin data in the ownsystem skin setting and insert them in the same way.
exports['bp_charcreate']:getallskin(source)
exports['bp_charcreate']:setallskin(source , skindata)
CLOTHING STORE - PART
Ownsystem only pulls or inserts clothing data in the skin setting.
exports['bp_newcstore']:getclothing(source)
exports['bp_newcstore']:setclothing(source, skindata)
BARBER STORE - PART
Ownsystem only pulls or inserts skins(hair) data in the skin setting.
exports['bp_newbstore']:getbarber(source)
exports['bp_newbstore']:setbarber(source, skindata)
With this export, the player's wardrobe can be withdrawn.
exports['bp_newcstore']:getwardrobe(source)
TATTOO STORE - PART
You can get tattoo information.
exports['bp_newtstore']:gettattoo(source)
exports['bp_newtstore']:settattoo(source, tattoodata)
EVENTS
CLIENT EVENTS
With this event you can start the character creation screen.
TriggerEvent('bp_charcreate:create')
This event inserts the pad.
TriggerEvent('bp_charcreate:setcharacterclothe' , skindata)
Wardrobe
Open wardrobe event
TriggerServerEvent('bp_newcstore:openwardrobe')
TATTOO
With this event you can load the player's ped.
TriggerServerEvent('bp_newtstore:getinformations')
Last updated