[Ajuda] Problema com TAG
#2

tenta o meu ae:
Код:
public OnPlayerText(playerid, text[])
{
	if (APlayerData[playerid][Muted] == true)
	{
		SendClientMessage(playerid, Vermelho, "{FFFF00}[ERRO]{009D4F} Vocк Estб Calado!");
		return 0;
	}

	if (APlayerData[playerid][PlayerLevel] >= 1)
	{
//------------------------------------------------------------------------------------------------------------------------------------------------------
		new texto[99];
		if (APlayerData[playerid][PlayerLevel] == 1) texto= "{00FFFF}[{FFFFFF}VIP{00FFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 2) texto= "{00FF00}[{FFFFFF}ADM{00FF00}]";
		if (APlayerData[playerid][PlayerLevel] == 3) texto= "{00FF00}[{FFFFFF}ADM{00FF00}]";
		if (APlayerData[playerid][PlayerLevel] == 4) texto= "{00FF00}[{FFFFFF}ADM{00FF00}]";
		if (APlayerData[playerid][PlayerLevel] == 5) texto= "{0000FF}[{FFFFFF}Gerente{0000FF}]";
		if (APlayerData[playerid][PlayerLevel] == 6) texto= "{FF0000}[{FFFFFF}DONO{FF0000}]";
//----------------------------------------------------------------------------------------------------------------------------------------------------------
		new string[256], pname[MAX_PLAYER_NAME];
		GetPlayerName(playerid, pname, sizeof(pname));
		format(string, sizeof(string), "%s %s {ffffff}[ID:%d] {FFFFFF}: %s", pname, texto, playerid, text);
		SendClientMessageToAll(GetPlayerColor(playerid), string);
		return 0;
	}
	if (APlayerData[playerid][PlayerLevel] == 0)
	{
		new string[256], pname[MAX_PLAYER_NAME];
		GetPlayerName(playerid, pname, sizeof(pname));
		format(string, sizeof(string), "%s [ID:%d]{FFFFFF}: %s", pname, playerid, text);
		SendClientMessageToAll(GetPlayerColor(playerid), string);
		return 0;
	}
	return 1;
}
vo dxa a public enteira mesmo, tenta modificar de acordo com oque vocК precisar
Reply


Messages In This Thread
Problema com TAG - by iTnTxGabrielx - 26.02.2015, 11:46
Re: Problema com TAG - by matheusspohr - 26.02.2015, 12:06
Re: Problema com TAG - by Marquito - 26.02.2015, 12:09
Re: Problema com TAG - by iTnTxGabrielx - 26.02.2015, 12:18
Re: Problema com TAG - by Kojak - 26.02.2015, 14:15
Re: Problema com TAG - by ProKillerpa - 26.02.2015, 14:38
Re: Problema com TAG - by nxxT - 26.02.2015, 14:40
Re: Problema com TAG - by Kojak - 26.02.2015, 14:42
Re: Problema com TAG - by PT - 26.02.2015, 15:43
Re: Problema com TAG - by iTnTxGabrielx - 26.02.2015, 16:10

Forum Jump:


Users browsing this thread: 3 Guest(s)