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

Lua DebugPrint Tfs 1.0

Read the error, it's printing Deprecated function when doSendAnimatedText is called. Use doCreatureSay instead.
 
try this
Code:
local zabierz = 300
local kolor = 163

function onStepIn(cid, item, pos)

local zycie = getCreatureHealth(cid)
local topos = getPlayerPosition(cid)

if item.actionid == 9881 and isKnight(cid) == FALSE then
doCreatureAddHealth(cid, -zycie)
doCreatureSay(cid, "You have choosen the wrong path!", TALKTYPE_ORANGE_1)
doSendMagicEffect(getPlayerPosition(cid), 15)

elseif item.actionid == 9881 and isKnight(cid) == TRUE then
doCreatureAddHealth(cid, -zabierz)
doSendMagicEffect(getPlayerPosition(cid), 15)
end

return 1
end
 
Back
Top