Quote:
Originally Posted by Jaber_Brown
pawn Код:
if((strcmp("1", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("1")))
|
It's good but slow. Better use this way if you want to check only one char/letter:
Quote:
Originally Posted by Jaber_Brown
pawn Код:
PlayerInfo[playerid][pTut] = 1;
Will save 1 to the variable, after the player types 1
|
In this case yes. (because it's inside of 'if' )
Quote:
Originally Posted by Jaber_Brown
The thing is that i want it to save dirrectly without waiting for the player to type 1, How can i do that,?
|
The changes needs to be in "RegistrationStep" 8.