A little help please.
#2

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:
pawn Код:
if(tmp[0]=='1')
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.
Reply


Messages In This Thread
A little help please. - by Jaber_Brown - 29.08.2012, 14:43
Re: A little help please. - by Roko_foko - 29.08.2012, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)