[Ajuda] Comando /kick
#5

Vou Fazer um CMD Para Voce Pera ai Eu VO Editar o Topico

@Edit
PHP код:
CMD:kick(playeridparams[])
{
if (
IsPlayerAdmin(playerid) || Player[playerid][Padmin] >= 1) return SendClientMessage(playerid, -1" Vocк Nao й Um Admistrador " );
new 
idmotivostr[128];
if(
sscanf(params"us"idmotivo)) return SendClientMessage(playerid, -1"Use: /kick [id] [motivo]");
format(Strsizeof(Str), "O jogador %s(%d) foi kikado do servidor. Motivo : %s"PlayerName(id), idmotivo);
SendClientMessageToAll(vermelhoStr); 
kick(id);
return 
1;
}
// Bota Isso No Final da GM
stock PlayerName(id)
{
    new 
name[MAX_PLAYER_NAME];
    
GetPlayerName(idnamesizeof(name));
    return 
name;

Reply


Messages In This Thread
Comando /kick - by ZackT - 16.09.2015, 00:56
Re: Comando /kick - by Asus994 - 16.09.2015, 01:05
Re: Comando /kick - by MacMillan_ - 16.09.2015, 01:09
Re: Comando /kick - by ZackT - 16.09.2015, 01:12
Re: Comando /kick - by Asus994 - 16.09.2015, 01:14
Re: Comando /kick - by MacMillan_ - 16.09.2015, 01:15
Re: Comando /kick - by ZackT - 16.09.2015, 01:20
Re: Comando /kick - by [BOPE]Seu._.Madruga - 17.09.2015, 00:03
Re: Comando /kick - by Eddye - 17.09.2015, 01:45

Forum Jump:


Users browsing this thread: 2 Guest(s)