21.07.2011, 03:49
@Shickcard: nem deu
@rjjj
Tentei assim:
Mas nгo deu certo A pasta raiz que digo й a Scriptfiles
Entгo quando quis dizer pasta raiz, fiz isso e deu certo:
@rjjj
Tentei assim:
pawn Код:
if (strcmp("/deletar", cmdtext, true) == 0)
{
new Player_Name[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(playerid,Player_Name,sizeof(Player_Name)),
format(string,128,"Scriptfiles/Pasta/%s.ini",Player_Name),
fremove(string);
SendClientMessage(playerid,0xFF00000AA, "Sua conta foi deletada.");
Kick(playerid);
return 1;
}
Entгo quando quis dizer pasta raiz, fiz isso e deu certo:
pawn Код:
format(string,128,"%s.ini",Player_Name),
fremove(string);