COLORS IN GAME!! - 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: COLORS IN GAME!! (
/showthread.php?tid=295576)
COLORS IN GAME!! -
budelis - 06.11.2011
Hi all. I want to ask how to change text color in game? i see in one server just need use:
Hello
And there is the same how here how do that?
Re: COLORS IN GAME!! -
Kostas' - 06.11.2011
Do you mean color name at Chat. There a simple FS
here, if you interesting
Re: COLORS IN GAME!! -
Norn - 06.11.2011
SetPlayerColor(playerid, color);
SendClientMessage(playerid, COLOR_COLOR, string);
or use {color} in SendClientMessage to have multiple colors.
Re: COLORS IN GAME!! -
budelis - 06.11.2011
No no. Not in pawno,but just in game when you press "t" to write message and then color code look that code what i write:
[COLOR="Red")HOW ARE YOU ?[/COLOR]
And then in game chat:
Player1:
HOW ARE YOU ?
Re: COLORS IN GAME!! -
-CaRRoT - 06.11.2011
Players use Mod For this
Re: COLORS IN GAME!! -
budelis - 06.11.2011
Mod? but everybody can use this in one server...
Re: COLORS IN GAME!! -
Calgon - 06.11.2011
There's no mod for it. You have to script it. The server you're talking about scripted it as a feature so it detects what you type, and if you type something like {COLOR_RED} it'll convert that text to the colour of red.
Re: COLORS IN GAME!! -
-CaRRoT - 06.11.2011
Quote:
There's no mod for it. You have to script it. The server you're talking about scripted it as a feature so it detects what you type, and if you type something like {COLOR_RED} it'll convert that text to the colour of red.
|
There is a Mod For this - I Saw some a Person using it in my server and it's not added in the Script - When we asked him he said he is using a Mod
Re: COLORS IN GAME!! -
Calgon - 06.11.2011
News to me, but I'm presuming that it's not a legit mod you're allowed to use in SA-MP.
AW: Re: COLORS IN GAME!! -
Drebin - 06.11.2011
Quote:
Originally Posted by Breto
There is a Mod For this - I Saw some a Person using it in my server and it's not added in the Script - When we asked him he said he is using a Mod
|
No, there is no mod for it.
It's a SA-MP bug that allows you to add colours to the chat message you write. This issue will be fixed in 0.3d:
Quote:
- Players found a way to avoid colour codes being stripped from the chat text. This has been resolved in 0.3d.
|
http://forum.sa-mp.com/showpost.php?...07&postcount=1