Scripts/resources/[il]/illenium-appearance/client/framework/framework.lua

12 lines
279 B
Lua
Raw Normal View History

2024-12-29 19:49:12 +00:00
function Framework.GetGender(isNew)
if isNew or not Config.GenderBasedOnPed then
return Framework.GetPlayerGender()
end
local model = client.getPedModel(cache.ped)
if model == "mp_f_freemode_01" then
return "Female"
end
return "Male"
end