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


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


change_player_ped

Changes the player's model based on the given sex.

Parameters

  • sex: string

Returns

  • void


appearance_rotate_ped

Rotates the player's ped in a specific direction.

Parameters

  • direction: string

Returns

  • void


load_player_appearance

Loads and applies a full character model including clothing and features.

Parameters

  • data: table

Returns

  • void


Shared

get_ped_appearence

Returns the current style data from ped_styles for a given sex.

Parameters

  • sex: string

Returns

  • table


reset_appearence_styles

Resets the internal ped_styles table to its default values.

Returns

  • void

Last updated