18.03.2012, 04:56
now when i type male it didn't respond to my function, it compiles good
pawn code
pawn code
pawn Код:
if((strcmp("male", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("male")))
{
dini_Set(file, "Gender", "Male");
SendClientMessage(playerid, COLOR_YELLOW, "Ok, so you are a male");
return 0;
}
else if((strcmp("female", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("female")))
{
dini_Set(file, "Gender", "Female");
SendClientMessage(playerid, COLOR_YELLOW, "Ok, so you are a female");
return 0;
}