SA-MP Forums Archive
custome formated text 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)
+--- Thread: custome formated text problem (/showthread.php?tid=431958)



custome formated text problem [solved] - dash5487 - 20.04.2013

hi i want make like get player color and his text force to white color but this code will not show text

Код HTML:
 new message[128];
 format(message, 128, "%s (%i):{FFFFFF}%s",PlayerName(playerid), playerid, message);
 SendClientMessageToAll(GetPlayerColor(playerid), message);
return 0
}



Re: custome formated text problem - Sithis - 20.04.2013

What happens when you return one and save the GetPlayerColor in a variable first?