Creating a Roleplay/RPG server?
Today I have added a utility function to the wiki, which you might want to use.
https://wiki.multitheftauto.com/wiki/GetPedGender
--[[
The command /gender will display the gender of your player/ped element.
]]
addCommandHandler("gender",
function ()
outputChatBox("My gender: " .. tostring(getPedGender(localPlayer)))
end)