24.06.2011, 22:16
Have you add this?
All of them should be like this:
EDITED again
pawn Код:
PlayerInfo[MAX_PLAYERS] [blahblahblah]
All of them should be like this:
pawn Код:
enum blahblahblah //On top of your script
{
pMale,
Sex[8],
pFemale,
}
new PlayerInfo[MAX_PLAYERS] [blahblahblah];
if(PlayerInfo[targetid][pMale] == 1) { PlayerInfo[targetid][Sex] = "Male"; }//Somewhere you want it
else if(PlayerInfo[targetid][pFemale] == 1) { PlayerInfo[targetid][Sex] = "Female"; }