09.05.2013, 21:29
If I were you, I would ditch the whole "girl" or "female" thing as it'll just be more of a pain in the ass to deal with. This is untested code, but I think it will work:
pawn Код:
stock returnPlayerGender(playerid)
{
if(playerid != INVALID_PLAYER_ID)
{
new
szGender[7];
switch(Player[playerid][Gender])
{
case 2, 4: szGender = "Female";
case 1, 3: szGender = "Male";
}
}
else szGender = "N/A";
return szGender;
}