⚙️documentation
Acompanhe abaixo as nossas exports juntamente com exemplos de funcionamento e as instruções precisas para realizar a exportação de forma correta.
getClothesPlayer
GET
Elemento do player
elem:player[Netinhokmk]
exports['[HS]Custom_Clothes']:getClothesPlayer( player )
Resposta
table
getPlayerGender
GET
Elemento do player
elem:player[Netinhokmk]
exports['[HS]Custom_Clothes']:getPlayerGender( player )
Resposta
string male or female
getInformations
GET
Elemento do player
elem:player[Netinhokmk]
exports['[HS]Custom_Clothes']:getInformations( player )
Resposta
json table informations
setClothesPlayer/setClothesPed
SET
Elemento do player/ped
elem:player[Netinhokmk]
Elemento do alvo
elem:player[Netinhokmk]
bodyPart
parte do corpo
clotheType
pasta da textura
textureType
id da textura ( dds )
shared
texturas localizadas na pasta shared
margeFace
renderTarget da parte do corpo
gender
gênero do personagem
Obs:
Obs:
margeFace = true - Para aplicar sobrancelha, batom, sobrepostos. tudo que envolver parte do rosto. margeFace = 'hyper.pernadireita' - para aplicar na parte do corpo especifica que não for no rosto.
exports['[HS]Custom_Clothes']:setClothesPlayer( player, alvo, {
bodyPart = 'torso',
clotheType = 'hyper.camisa1',
textureType = 1,
shared = false,
margeFace = false,
gender = 'male'
})
loadAllClothes
LOAD
Elemento do player
elem:player[Netinhokmk]
exports['[HS]Custom_Clothes']:loadAllClothes( player )
Resposta
json table informations
createPerson
CREATE
Elemento do player
elem:player[Netinhokmk]
tabela
tabela das informações da criação
exports['[HS]Custom_Clothes']:createPerson( player, {
gender = 'male';
skintone = 'white';
face = 'hyper.face1';
clothes = {}
} )
Last updated