[HELP] Tags In Chat
#1

hello , i have this in my OnPlayerText Public :
Код 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;
        }
But Its Not Show any tag ...
only this works :
Код HTML:
        format(NeoClan, sizeof(NeoClan), " %s [{7CFC00}iD:{FFFFFF} %d]", text, playerid);
        SendPlayerMessageToAll(playerid,NeoClan);
      	return 0;
when the player have tag its still shows only the id ...
can any one helpme ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)