Alguem me ajuda
#6

Код:
CMD:banir(playerid, params[]) // Pra que ";" aqui ??
{
	new id, motivo[128], string[128], snd[MAX_PLAYER_NAME], pAdmin[MAX_PLAYER_NAME];
	if(Admin[playerid] == 0 ) return SendClientMessage(playerid, vermelho, "Vocк nгo й Administrador!");
	if(sscanf(params, "us", id, motivo)) return SendClientMessage(playerid, vermelho, "Use: /banir [id] [motivo]"); // Falto ";" aqui
	GetPlayerName(id, snd, sizeof snd);
	GetPlayerName(playerid, pAdmin, sizeof pAdmin);
	format(string, sizeof string, ">> O Administrador %s baniu o player %s pelo motivo:", pAdmin, snd);
	SendClientMessageToAll(azul, string);
	Ban(id);
	return 1;
}
Reply


Messages In This Thread
Alguem me ajuda - by LuizZ14 - 10.02.2017, 20:03
Re: Alguem me ajuda - by johntrybescripter - 10.02.2017, 20:14
Re: Alguem me ajuda - by Cheleber_Pausini - 10.02.2017, 20:15
Re: Alguem me ajuda - by PesadaO - 10.02.2017, 20:55
Re: Alguem me ajuda - by CatuabaSelvagem - 10.02.2017, 21:03
Re: Alguem me ajuda - by 1sbedx - 10.02.2017, 21:48

Forum Jump:


Users browsing this thread: 2 Guest(s)