• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Where can I find the constants?

Tufte

Active Member
Joined
Nov 19, 2007
Messages
652
Reaction score
25
Location
Norway
I can't find the document that has listed all the constants used for different text effects, colors, animations etc. Can anyone link me? Thanks in advance.
 
This doesn't exist anymore in the client 9.1+ servers.
You can use doCreatureSay for words.
Code:
doCreatureSay(cid, "Your text.", TALKTYPE_ORANGE_1)

And for numbers you can use doPlayerSendTextMessage with MESSAGE_EXPERIENCE for the old animated text effect.
Code:
doPlayerSendTextMessage(cid, MESSAGE_EXPERIENCE, "Your server log text.", getCreaturePosition(cid), 100, TEXTCOLOR_GREEN)
 
You have do that with doCreatureSay, doPlayerSendTextMessage with MESSAGE_EXPERIENCE can only be used for numbers.
Or you can do the number as animated text and add the rest in the textmessage people get in server log.
 
Back
Top