Appearance
Client
get_clothing_and_prop_values
Returns maximum values for clothing and prop UI sliders based on ped model.
Parameters
sex:
string
Returns
table
bdtk.get_clothing_and_prop_values(sex)
set_ped_appearance
Applies genetics, hair, overlays, clothes, and tattoos to the player's ped.
Parameters
player:
number
data:
table
Returns
void
bdtk.set_ped_appearance(player, data)
update_ped_appearance
Updates the internal ped_styles
table and re-applies the appearance.
Parameters
sex:
string
category:
string
id:
string|nil
value:
any
Returns
void
bdtk.update_ped_appearance(sex, category, id, value)
change_player_ped
Changes the player's model based on the given sex.
Parameters
sex:
string
Returns
void
bdtk.change_player_ped(sex)
appearance_rotate_ped
Rotates the player's ped in a specific direction.
Parameters
direction:
string
Returns
void
bdtk.appearance_rotate_ped(direction)
load_player_appearance
Loads and applies a full character model including clothing and features.
Parameters
data:
table
Returns
void
bdtk.load_player_appearance(data)
Shared
get_ped_appearence
Returns the current style data from ped_styles
for a given sex.
Parameters
sex:
string
Returns
table
bdtk.get_ped_appearence(sex)
reset_appearence_styles
Resets the internal ped_styles
table to its default values.
Returns
void
bdtk.reset_appearence_styles()
Last updated