[Ajuda] /desbanir bugado
#4

Quote:
Originally Posted by [BOPE]Seu._.Madruga
Посмотреть сообщение
Troque:
Код:
dini_Unset(,tmp);
Por:
PHP код:
new filebradoks[50];
format(filebradokssizeof(filebradoks), "Banidos/%s.ini"tmp);
dini_Remove(filebradoks); 
PHP код:
if(strcmp(cmd"/desbanir"true) == 0) {
    if(
pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == 5) {
        
tmp strtok(cmdtextidx);
        if(!
strlen(tmp)) return SendClientMessage(playeridVermelho"| ERRO | Digite: /Desbanir [nick]");
        
format(file2sizeof(file2), PASTA_CONTAStmp);
        if(!
dini_Exists(file2)) return SendClientMessage(playeridVermelho"| ERRO | Este usuario nгo existe.");
        
format(stringsizeof(string), "[WLV] Vocк desbaniu O jogador(a) %s."tmp);
        
SendClientMessage(playeridVermelhostring);
        new 
filebradoks[50];
        
format(filebradokssizeof(filebradoks), "Banidos/%s.ini"tmp);
        
dini_Remove(filebradoks);
        return 
1;
    } else {
        
SendClientMessage(playeridVermelho"| ERRO | Vocк nгo tem acesso a este comando !");
    }
    return 
1;


VLW MAINNN
Reply


Messages In This Thread
/desbanir bugado - by TIAGOO - 16.04.2018, 22:36
Re: /desbanir bugado - by [BOPE]Seu._.Madruga - 16.04.2018, 22:40
Re: /desbanir bugado - by XandyMello - 16.04.2018, 22:43
Re: /desbanir bugado - by TIAGOO - 16.04.2018, 23:27

Forum Jump:


Users browsing this thread: 1 Guest(s)