SA-MP Forums Archive
[HELP] Tags In Chat - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Tags In Chat (/showthread.php?tid=265738)



[HELP] Tags In Chat - TeRmi[N]aTor - 02.07.2011

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 ?