Sets the race of the model to a playable race. Sets the model's race to a playable race with player character's current equipment. First parameter is Race ID which can be found on database sites (e.g. draenei race #11).

Second parameter is optional and will set the sex of the model (0 = male, 1 = female). If omitted the model uses the same sex as player character.

Signature:

PlayerModel:SetCustomRace(race_id [, sex])

Arguments:

  • race_id - Numeric ID of a playable race (number)
  • sex - Numeric ID of the model sex: 0 = male, 1 = female. (number)