[Ajuda] Problema com TAG
#4

Quote:
Originally Posted by matheusspohr
Посмотреть сообщение
Gostei desse modo seu pq aparece o nome do cargo tipo lvl 2 ADM e bem organizado parabйns
Matheus eu botei esse codigo a baixo e pra aparecer a TAG de adm teike ser vip
e qnd eu tiro a linha if(APlayerData[playerid][VIPLevel] >= 1)
da erro

Код:
	}
	if(APlayerData[playerid][VIPLevel] >= 1)
	{
	if (APlayerData[playerid][PlayerLevel] >= 1)
	{
//------------------------------------------------------------------------------------------------------------------------------------------------------
		new texto[99];
		if (APlayerData[playerid][VIPLevel] == 1) texto= "{FFFFFF}[{00FFFF}VIP{FFFFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 1) texto= "{FFFFFF}[{00FF00}Helper{FFFFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 2) texto= "{FFFFFF}[{00FF00}Administrador{FFFFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 3) texto= "{FFFFFF}[{00FF00}Moderador{FFFFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 4) texto= "{FFFFFF}[{00FF00}Gerente{FFFFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 5) texto= "{FFFFFF}[{00FF00}Sub_Dono{FFFFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 6) texto= "{FFFFFF}[{00FF00}Dono{FFFFFF}]";
		if (APlayerData[playerid][PlayerLevel] == 7) texto= "{FFFFFF}[{00FFFF}Fundador{FFFFFF}]";
//----------------------------------------------------------------------------------------------------------------------------------------------------------
		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][VIPLevel] == 1)
	{
		new string[256], pname[MAX_PLAYER_NAME];
		GetPlayerName(playerid, pname, sizeof(pname));
		format(string, sizeof(string), "%s {FFFFFF}[{00FFFF}VIP{FFFFFF}] [ID:%d]: %s", pname, 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 [{FFFFFF}{FFFF00}ID:%d]{FFFFFF}: %s", pname, playerid, text);
		SendClientMessageToAll(GetPlayerColor(playerid), string);
		return 0;
	}
	return 1;
}
Quote:
Originally Posted by Marquito
Посмотреть сообщение
Vlw ae Tbm
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: 4 Guest(s)