19.12.2012, 13:35
Hi. I made this chat system:
But when I use this ingame and have variables placed, the chat shows:
1230*playername*(id): 123*text*
1230 and 123 appear instead of the desired variables and colours.
What did I forget/do wrong?
pawn Код:
new textstring[128 + MAX_PLAYER_NAME + 128];
format(textstring,sizeof(textstring),"%d%d%s%s(%d) | %d%s",Colour[playerid][pNameCol],Tag1[playerid][pTag1],PlayerName(playerid),Tag2[playerid][pTag2],playerid,Colour[playerid][pChat], text);
SendClientMessageToAll(COLOR_WHITE, textstring);
1230*playername*(id): 123*text*
1230 and 123 appear instead of the desired variables and colours.
What did I forget/do wrong?