SA-MP Forums Archive
TimeStamp Color - 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: TimeStamp Color (/showthread.php?tid=364157)



TimeStamp Color - kbalor - 29.07.2012

How do I changed the color of the timesstamp (BLACK)? What to add and what to change?



pawn Code:
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "{6666FF}(/mt) {00CCFF}%s {6666FF}has Teleported to Montgomery",pName);



Re: TimeStamp Color - Vince - 29.07.2012

The color of the timestamp is the color of the client message.


Re: TimeStamp Color - kbalor - 29.07.2012

Quote:
Originally Posted by Vince
View Post
The color of the timestamp is the color of the client message.
I forgot:

SendClientMessageToAll(playerid, string);

How do I change that into color code?


Re: TimeStamp Color - Glint - 29.07.2012

There is no playerid parameter in SendClientMessageToAll change that with the color.


Re: TimeStamp Color - kbalor - 29.07.2012

Quote:
Originally Posted by Lexi'
View Post
There is no playerid parameter in SendClientMessageToAll change that with the color.
Oh thanks i change playerid to 0xandsoon +rep