The doSendAnimatedText function was removed in 9.1+ because it wasn't supported by the client anymore. Deprecated function means something like old function.
You can still use numbers as animated text. 100 is here the number as animated text.
LUA:
doPlayerSendTextMessage(cid, MESSAGE_EXPERIENCE, "Your text in server log.", getCreaturePosition(cid), 100, TEXTCOLOR_GREEN)
Or for text you can use doCreatureSay.
LUA:
doCreatureSay(cid, "Your text here", TALKTYPE_ORANGE_1)