02.07.2011, 08:12
hello , i have this in my OnPlayerText Public :
But Its Not Show any tag ...
only this works :
when the player have tag its still shows only the id ...
can any one helpme ?
Код HTML:
if(AccInfo[playerid][HaveTag] == 0)
{
format(NeoClan, sizeof(NeoClan), " %s [{7CFC00}iD:{FFFFFF} %d]", text, playerid);
SendPlayerMessageToAll(playerid,NeoClan);
return 0;
}
else if(AccInfo[playerid][HaveTag] == 1)
{
format(NeoClan, sizeof(NeoClan), " %s [{7CFC00}iD:{FFFFFF} %d | {%s}%s{FFFFFF}]", text, playerid, dini_Get(file,"Color"), dini_Get(file,"Tag"));
SendPlayerMessageToAll(playerid,NeoClan);
return 0;
}
only this works :
Код HTML:
format(NeoClan, sizeof(NeoClan), " %s [{7CFC00}iD:{FFFFFF} %d]", text, playerid);
SendPlayerMessageToAll(playerid,NeoClan);
return 0;
can any one helpme ?

