Changename bugged
#2

it be like this to remove a file with YSI

pawn Код:
new pName[MAX_PLAYER_NAME], str[50];
GetPlayerName(playerid, pName, sizeof pName);
format(str, sizeof str, "%s.ini", pName);
fremove(str);

// this is just an example. If you saved the info into "House" folder, you'd have to format the str in otherway:
format(str, sizeof str, "/Houses/%s.ini", pName);
fremove(str)
Reply


Messages In This Thread
Changename bugged - by AYOUYOU - 28.01.2015, 10:16
Re: Changename bugged - by GGW - 28.01.2015, 10:57
Re : Changename bugged - by AYOUYOU - 28.01.2015, 11:15
Re : Re: Changename bugged - by AYOUYOU - 28.01.2015, 11:26
Re : Changename bugged - by AYOUYOU - 28.01.2015, 11:30
Re : Changename bugged - by AYOUYOU - 31.01.2015, 14:58
Re: Changename bugged - by Kar - 31.01.2015, 15:21
Re : Changename bugged - by AYOUYOU - 31.01.2015, 15:29
Re: Changename bugged - by Abagail - 31.01.2015, 16:00
Re : Changename bugged - by AYOUYOU - 31.01.2015, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)