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

Can't find the right lines

WiLDTuRTLE

Member
Joined
Feb 26, 2011
Messages
478
Reaction score
5
Lol.. yeah well im a noob at scripting, just looking at the script and im confused lol,

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497)
function onCastSpell(cid, var)
function MagicWallTime(pos, delay)
doCreatureSay(cid, TALKTYPE_ORANGE_1, pos, delay, 145)
if delay ~= 1 then addEvent(MagicWallTime, 1000, pos, delay -1) end
end
local pos,duration = variantToPosition(var),20
MagicWallTime(pos,duration)
return doCombat(cid, combat, var)
end

On console i get error every sec coz of the "doCreatureSay" , its magicwall btw, trying to add timer countdown on it.
may someone skilled could help me to fix this? :P
 
Back
Top