• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

is it possible to doPlayerSendTextMessage in light blue color?

okurde

New Member
Joined
Jan 28, 2009
Messages
134
Reaction score
1
Hello, is it possible to send message to player in light blue (for example in quest script "You have found...")

It works:
Code:
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE, "...")
But it is dark blue color :/

In 000-constant.lua I have onle these types:
Code:
MESSAGE_STATUS_CONSOLE_RED = 18
MESSAGE_EVENT_ORANGE = 19
MESSAGE_STATUS_CONSOLE_ORANGE = 20
MESSAGE_STATUS_WARNING = 21
MESSAGE_EVENT_ADVANCE = 22
MESSAGE_EVENT_DEFAULT = 23
MESSAGE_STATUS_DEFAULT = 24
MESSAGE_INFO_DESCR = 25
MESSAGE_STATUS_SMALL = 26
MESSAGE_STATUS_CONSOLE_BLUE = 27

Does anyone have an idea how it can be done?
 
The only blue message you can send to players with doPlayerSendTextMessage is MESSAGE_STATUS_CONSOLE_BLUE, it's a client limit.
You could use a private message, but then you have to add a creature who sends the message, so you see the name. If you create an npc and call it Server you could do something like this.
Code:
doCreatureSay(getCreatureByName("Server"), "Your text.", TALKTYPE_PRIVATE, false, cid)
Ingame you will see in Default channel
Code:
02:48 Server: Your text.
 
Back
Top