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

dosendanimatedtext deprecated function on which script??

YisusChrist

Banned User
Joined
Jul 9, 2013
Messages
47
Reaction score
0
On which script its "dosendanimatedtext" console Do not give Path to the script :/ Already replace on libs / function
dosendanimatedtext for docreaturesay :/




Uploaded with ImageShack.us

/\ This is very annoying


Any help will be great

Kind Regards
YisusChrist
 
Last edited:
I already know that , but i think you missunderstand me , what i want its how i can know WHICH script provoke this, so i can replace Dosendanimatedtext... for .... DoCreatureSay .... But how you see there is no error (script path) u_u

anyway thank you ^_^


Edit: Already Replaced: DoSendAnimatedText on 050-Functions (data/lib) for DoCreatureSay


It's very annoying watch on my console like 2-3 messages of this every 4 minutes :s at least it doesnt do anything bad, like debug or smething else
 
Last edited:
Now you can use the other functions:
doPlayerSendTextMessage(cid, MessageClasses, message[, animatedText[, color[, pos]]])
for example:
doPlayerSendTextMessage(cid, MESSAGE_EXPERIENCE, "$$$", 65464, COLOR_WHITE, getThingPosition(cid))
 
I think if this works it's gonna be very useful tyty , gonna try , ill let you know how it goes soon :)

Ahmed30 > It's gonna be like this? I hope it show me where the source problem is hehe gratz on advancement
:peace:
Lua:
function doSendAnimatedText(pos, value, color, player)
    if(not tonumber(value))then
		print(debug.getinfo(2).source)
        return error("arg #2 in doSendAnimatedText is not a number")
    end

andypsylon >> Mmm that's the new functions thank you :) But i first need to know where the source with the function (dosendanimatedtext) it's located , so i hope ^ ahmed30 can help me :peace: out man

Kind Regards, YisusChrist
 
Last edited:
first of all we shouldn't look on the arguments since we are not going to use them :p

Lua:
function doSendAnimatedText(...)
	print('[Error] doSendAnimatedText is now a deprecated function \n'.. debug.getinfo(2).source)
end
 
Back
Top