if(PlayerInfo[playerid][Hidden] == 0)
{
if(IsPlayerAdmin(playerid))
{
format(eString, sizeof(eString), "%s {1900FF}(Admin){FFFFFF} (%d): {FFFFFF}%s", PlayerName(playerid), playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
else if(PlayerInfo[playerid][Level] > 2)
{
format(eString, sizeof(eString), "%s {1900FF}(Admin){FFFFFF} (%d): {FFFFFF}%s", PlayerName(playerid), playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
else if(PlayerInfo[playerid][pVIP] >= 3)
{
format(eString, sizeof(eString), "%s {FF0000}(VIP){FFFFFF} (%d): {FFFFFF}%s", PlayerName(playerid), playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
iif(PlayerInfo[playerid][Hidden] == 0)
{
if(IsPlayerAdmin(playerid))
{
format(eString, sizeof(eString), "%s {1900FF}(Admin){FFFFFF} (ID:%d): {FFFFFF}%s", getPName(playerid), playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
else if(PlayerInfo[playerid][Level] > 2)
{
format(eString, sizeof(eString), "%s {1900FF}(Admin){FFFFFF} (ID:%d): {FFFFFF}%s", getPName(playerid), playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
else if(PlayerInfo[playerid][pVIP] >= 3)
{
format(eString, sizeof(eString), "%s {FF0000}(VIP){FFFFFF} (ID:%d): {FFFFFF}%s", getPName(playerid), playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
PHP код:
|
if(PlayerInfo[playerid][Hidden] == 0)
{
if(IsPlayerAdmin(playerid))
{
format(eString, sizeof(eString), "(%d) %s {1900FF}(Admin){FFFFFF} : {FFFFFF}%s", playerid, PlayerName(playerid), text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
else if(PlayerInfo[playerid][Level] > 2)
{
format(eString, sizeof(eString), "(%d) %s {1900FF}(Admin){FFFFFF} : {FFFFFF}%s", playerid, PlayerName(playerid), text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
else if(PlayerInfo[playerid][pVIP] >= 3)
{
format(eString, sizeof(eString), "(%d) %s {FF0000}(VIP){FFFFFF} : {FFFFFF}%s", playerid, PlayerName(playerid), text); SendClientMessageToAll(GetPlayerColor(playerid), eString); return 0;
}
PHP код:
|
{FFFFFF}(ID:0):
ou (ID:{FFFFFF}0): Vai ficar a ID branca. ID de Cores: http://www.flextool.com.br/tabela_cores.html |
mas ai a cor do nick da pessoa vai ficar branco tmb, uma vez fiz isso e ficou
|