Line removing problem
#2

I tested it, and it works fine.

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);
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:
pawn Код:
if( strfind( szTmp, line, true ) == -1 )
Reply


Messages In This Thread
Line removing problem - by maximthepain - 09.07.2015, 11:34
Re: Line removing problem - by Threshold - 09.07.2015, 12:13
Re: Line removing problem - by maximthepain - 09.07.2015, 18:42
Re: Line removing problem - by Threshold - 10.07.2015, 06:13
Re: Line removing problem - by maximthepain - 11.07.2015, 09:40
Re: Line removing problem - by Threshold - 11.07.2015, 10:59
Re: Line removing problem - by maximthepain - 11.07.2015, 12:39

Forum Jump:


Users browsing this thread: 3 Guest(s)