Scripts/resources/[il]/illenium-appearance/client/framework/framework.lua
2024-12-29 20:49:12 +01:00

12 lines
279 B
Lua

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