• 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!

Solved [C++][TFS 1.0] addAnimatedText

Kubuxxx

Title
Joined
May 25, 2009
Messages
91
Reaction score
2
Is something like g_game.addAnimatedText(getPosition(), TEXTCOLOR_RED, "Critical!"); function in tfs 1.0 ? This one is from 0.36.

//
Is there something to give a text for a short time on a monster or player?
 
Last edited:
Animated text doesn't exist anymore in the 9+ clients. You can still do it with numbers, but not with text.
For numbers you can do it like this. It will look exactly like the animated text, only you will also get a message in server log as Colors posted.
Code:
doPlayerSendTextMessage(cid, MESSAGE_EXPERIENCE, "Your text in server log.", getCreaturePosition(cid), 100, TEXTCOLOR_RED)


For words you can use doCreatureSay.
Code:
doCreatureSay(cid, "Your text.", TALKTYPE_ORANGE_1)
With position.
Code:
doCreatureSay(cid, "Your text.", TALKTYPE_ORANGE_1, false, 0, {x = 100, y = 100, z = 7})
 
Is something like g_game.addAnimatedText(getPosition(), TEXTCOLOR_RED, "Critical!"); function in tfs 1.0 ? This one is from 0.36.

//
Is there something to give a text for a short time on a monster or player?

Already have this in TFS 1.0
 
Back
Top