API:GetCharacterRace

Return character race index

Arguments
no arguments to this function

Returns
0 - Human

1 - Elf

3 - Dwarf

Example
local race = GetCharacterRace;