25.04.2012, 02:10
Galera Min Ajuda nisso aqui:
Quando um ADM fala o id dele fica verde e um player fala o id fica normal
mas eu fiz tudo certinho (eu axo xD) e quando o adm ou player digita algo sai 2 vezes o texto, uma com o id da cor certa e outra sem o id!
Quando um ADM fala o id dele fica verde e um player fala o id fica normal
mas eu fiz tudo certinho (eu axo xD) e quando o adm ou player digita algo sai 2 vezes o texto, uma com o id da cor certa e outra sem o id!
Код:
if(PlayerInfo[playerid][pAdmin] == 0) { new string[128]; format(string, sizeof(string), "{88AA88}[ID:%d]:{FFFFFF} %s", playerid, text); SendPlayerMessageToAll(playerid,string); } if(PlayerInfo[playerid][pAdmin] >= 1) { new string[128]; format(string, sizeof(string), "{14FF08}[ID:%d]:{FFFFFF} %s", playerid, text); SendPlayerMessageToAll(playerid,string); }