fremove problems
#1

I've been looking around for a way to delete a file and i've found that everybody give fremove as a solution, i tried it but it's not really working for me for a reason.
The path of the files is
pawn Код:
"/Users/%s.ini"
This is the codes! maybe it can help you.
pawn Код:
format(NameStr, sizeof(NameStr), "/Users/%s.ini", NewName);

                        if(fexist(NameStr))
                        {
                            SendClientMessage(playerid, WHITE, "That account name is already registered.");
                        }
                        else
                        {
                            format(string, sizeof(string),"%s", NewName);
                            strcpy(PlayerInfo[id][NormalName],string, MAX_PLAYER_NAME);

                 
                            fremove(NameStr);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)