• 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 Argument #3 is unsafe

yohanaugusto

New Member
Joined
Sep 28, 2008
Messages
73
Reaction score
0
Hello, someone could help me to update this to TFS 1.1? The only problem is on "AddEvent":

addEvent(script, 1000, cid)

function script(cid)
local creature = Creature(cid)
if creature:getTarget(cid) ~= 0 then
creature:say("msg", TALKTYPE_MONSTER_YELL)
doAreaCombatHealth(cid, 16, creature:getPosition(creature:getTarget(cid)), DamageArea, -1, -1, 48)
end
end
 
Last edited:
Back
Top Bottom