IsNumeric and Gender problem
#3

now when i type male it didn't respond to my function, it compiles good
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;
        }
Reply


Messages In This Thread
IsNumeric and Gender problem - by Reklez - 18.03.2012, 04:30
Re: IsNumeric and Gender problem - by Alvord - 18.03.2012, 04:43
Re: IsNumeric and Gender problem - by Reklez - 18.03.2012, 04:56
Re: IsNumeric and Gender problem - by Jonny5 - 18.03.2012, 05:04
AW: IsNumeric and Gender problem - by peugeot - 18.03.2012, 05:08
Re: IsNumeric and Gender problem - by Reklez - 18.03.2012, 05:11
Re: AW: IsNumeric and Gender problem - by Jonny5 - 18.03.2012, 05:22

Forum Jump:


Users browsing this thread: 1 Guest(s)