Skip to content

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.

lua
exports['bp_charcreate']:getallskin(source)
lua
exports['bp_charcreate']:setallskin(source , skindata)

CLOTHING STORE - PART#

Ownsystem only pulls or inserts clothing data in the skin setting.

lua
exports['bp_newcstore']:getclothing(source)
lua
exports['bp_newcstore']:setclothing(source, skindata)

BARBER STORE - PART#

Ownsystem only pulls or inserts skins(hair) data in the skin setting.

lua
exports['bp_newbstore']:getbarber(source)
lua
exports['bp_newbstore']:setbarber(source, skindata)

With this export, the player's wardrobe can be withdrawn.

lua
exports['bp_newcstore']:getwardrobe(source)

TATTOO STORE - PART#

You can get tattoo information.

lua
exports['bp_newtstore']:gettattoo(source)
lua
exports['bp_newtstore']:settattoo(source, tattoodata)

EVENTS#

CLIENT EVENTS#

With this event you can start the character creation screen.

lua
TriggerEvent('bp_charcreate:create')

This event inserts the pad.

lua
TriggerEvent('bp_charcreate:setcharacterclothe' , skindata)

Wardrobe#

Open wardrobe event

lua
TriggerServerEvent('bp_newcstore:openwardrobe')

TATTOO#

With this event you can load the player's ped.

lua
TriggerServerEvent('bp_newtstore:getinformations')