SA-MP Forums Archive
Tags system "problem" - 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: Tags system "problem" (/showthread.php?tid=252853)



Tags system "problem" - Seven_of_Nine - 03.05.2011

pawn Код:
new tagname[30],text[128];
                format(tagname,sizeof(tagname),"%s%s",Tags[playerid],OrName[playerid]);
                SetPlayerName(playerid,tagname);
                format(text,sizeof(text),"Your tag(s) are loaded now. (  %s  )",Tags[playerid]);
                SendClientMessage(playerid,yellow,text);
Yes, I have OrName, I have Tags, and they're not empty.
But when I connect, then it shows the Tags, but my name is still the OrName. Can you help me?
Thanks.


Re: Tags system "problem" - Seven_of_Nine - 03.05.2011

Anyone? I bump because I need it xD


Re: Tags system "problem" - TheGarfield - 03.05.2011

try:
pawn Код:
new text[128];
        format(text,sizeof(text),"%s%s",Tags[playerid],OrName[playerid]);
        SetPlayerName(playerid,text);
        format(text,sizeof(text),"Your tag(s) are loaded now. (  %s  )",Tags[playerid]);
        SendClientMessage(playerid,yellow,text);



Re: Tags system "problem" - Seven_of_Nine - 03.05.2011

Wait... It's working. (the original)
woow thanks for your help but it's working O.o"