01.10.2009, 21:30
because your strcmp was wrong
strcmp returns 0 if strings match, 1 is str1 is greater then str2 and -1 if str2 is greater.
You would need to do
And the comparing string (str1) was a whole line from a file. I don't know your file structure, but you probably have more text written in a line, then just BM[UK]
pawn Код:
if(strcmp(string, player, true))
You would need to do
pawn Код:
if(!strcmp(string, player, true))