[Ajuda] /kick
#1

Eu digito o comando e ele fica dizendo /kick [id] [motivo]

pawn Код:
CMD:kick(playerid, params[])
{
    new VictimID, Motivo[120];
    if(Informacoes[playerid][PlayerAdmin] < 2) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel de Administrador Suficiente");
    if(sscanf(params, "ds[120]", VictimID, Motivo)) return Mensagem(playerid, RED, "Erro: /kick [ID] [Motivo]");
    if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
    GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
    GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
    format(gString, sizeof(gString), ">> Admin-CMD: %s Kickou o Jogador %s Pelo Motivo: %s", gAdminName, gPlayerName, Motivo);
    MensagemParaTodos(RED, gString);
    Kick(VictimID);
    return true;
}
Isso acontece com outros comando, mais ajuda a resolver esse ae e eu resolvo os outros
Reply


Messages In This Thread
/kick - by Gleisson_. - 30.11.2012, 01:00
Respuesta: /kick - by aldair8 - 30.11.2012, 01:03
Re: /kick - by Gleisson_. - 30.11.2012, 01:13
Re: /kick - by Mr_Taxi - 30.11.2012, 01:14
Re: /kick - by Gleisson_. - 30.11.2012, 01:18
Re: /kick - by Delete_ - 30.11.2012, 01:18
Respuesta: Re: /kick - by aldair8 - 30.11.2012, 01:19
Re: /kick - by Gleisson_. - 30.11.2012, 01:27
Re: /kick - by Delete_ - 30.11.2012, 01:28
Re: /kick - by Gleisson_. - 30.11.2012, 01:31

Forum Jump:


Users browsing this thread: 2 Guest(s)