COLORS IN GAME!!
#1

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?
Reply
#2

Do you mean color name at Chat. There a simple FS here, if you interesting
Reply
#3

SetPlayerColor(playerid, color);
SendClientMessage(playerid, COLOR_COLOR, string);

or use {color} in SendClientMessage to have multiple colors.
Reply
#4

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 ?
Reply
#5

Players use Mod For this
Reply
#6

Mod? but everybody can use this in one server...
Reply
#7

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.
Reply
#8

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
Reply
#9

News to me, but I'm presuming that it's not a legit mod you're allowed to use in SA-MP.
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)