09.07.2015, 12:13
I tested it, and it works fine.
Although I can only recommend changing this part:
EDIT:
All so, make sure the name in the file and the player's name are case sensitive. Otherwise, you can change the 'strfind' line to this:
Although I can only recommend changing this part:
pawn Код:
new pname[24];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME); // The name of the player
fremoveline("passed.ini", pname);
All so, make sure the name in the file and the player's name are case sensitive. Otherwise, you can change the 'strfind' line to this:
pawn Код:
if( strfind( szTmp, line, true ) == -1 )