[Ajuda] Convertendo cmd
#4

pawn Код:
CMD:desbanip(playerid,params)
{
    new string[100], gstring[50], IP[16];
    if(PlayerInfo[playerid][pAdmin] <= 1337)return SendClientMessage(playerid,-1,"Nao Tem Nivel Suficiente ou Nao e Admin");
    if(modoadmin[playerid] < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб em modo de trabalho!");
    if(sscanf(params, "s",IP))return SendClientMessage(playerid,-1,"Use:/desbaip [IP DO JOGADOR]");//ERRO NESSA LINHA
    format(gstring, 128, "IPsBanidos/%s.ini", IP);
    if(!dini_Exists(gstring))return SendClientMessage(playerid,COLOR_GRAD1,"IP nгo encontrado na base de dados");
    dini_Remove(gstring);
    fremove(gstring);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, 128, "Vocк desbaniu o IP %s se ainda nгo desbaniu a conta use /desbanconta.",IP);
    SendClientMessage(playerid, COLOR_LIGHTBLUE,string);
    return 1;
}
ta ae
Reply


Messages In This Thread
[Ajuda] Convertendo cmd - by Don_Speed - 11.06.2012, 15:33
Re: [Ajuda] Convertendo cmd - by ViniBorn - 11.06.2012, 15:39
Re: [Ajuda] Convertendo cmd - by Don_Speed - 11.06.2012, 15:52
Re: [Ajuda] Convertendo cmd - by EditPawn - 11.06.2012, 15:55
Re: [Ajuda] Convertendo cmd - by Don_Speed - 11.06.2012, 16:05
Re: [Ajuda] Convertendo cmd - by paulor - 11.06.2012, 17:02

Forum Jump:


Users browsing this thread: 3 Guest(s)