SA-MP Forums Archive
[Ajuda] Deletar contas na pasta - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Deletar contas na pasta (/showthread.php?tid=442281)



Deletar contas na pasta - BielCOP - 06.06.2013

Gostaria de saber se hб algum sistema de eu deletar todas as contas de uma pasta de contas da ScriptFiles sem um tal nome, exemplo:

Caso tenha o nome _xD, a conta й deletada.

Eaew ? Vlw :P


Re: Deletar contas na pasta - Gii - 06.06.2013

The missing appeared!


Re: Deletar contas na pasta - BielCOP - 06.06.2013

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
The missing appeared!
Fazer oq nй... :S


Re: Deletar contas na pasta - AlucardSnow - 06.06.2013

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
The missing appeared!
Acho que nгo em.
Acho que tem que como fazer, mas nгo sei como '-'
Talvez um plugin em C/C++....


ACHO = Nгo tenho certeza de nada, pode ser uma possibilidade de existir.


Re: Deletar contas na pasta - lucaspilar - 06.06.2013

Tem sim, o meu tem, tentei criar o comando nao dei conta, ai pedi para meu primo fazer, se quizer toma o meu code da uma estudada e ve se consegue colocar para deletar todas.
pawn Код:
if(strcmp(cmd, "/deletaracc", true) == 0) {
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(pAdmin[playerid] == 5){
new tmp[256];
tmp = strtok(cmdtext, idx);
format(file2, sizeof(file2), PASTA_CONTAS, tmp);
if(!strlen(tmp)) {
SendClientMessage(playerid, Vermelho, "Digite: /deletaracc [nick]");
return 1;
}
if (dini_Exists(file2)) {
dini_Remove(file2);
SendClientMessage(playerid, Verde, "Usuario Deletado");
format(string, sizeof(string), "[AVISO] O administrador %s excluiu a conta do Jogador(a) %s", aname,tmp);
SendClientMessageToAll(tcadm, string);
}else{
SendClientMessage(playerid, Vermelho, " [ERRO AO EFETUAR ESTE COMANDO] Este usuario nгo existe!");
}
return 1;
}
}



Re: Deletar contas na pasta - Ricop522 - 07.06.2013

https://sampforum.blast.hk/showthread.php?tid=309220
https://sampforum.blast.hk/showthread.php?tid=92246

divirta-se