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

Push spell (need some help)

Albanon

New Member
Joined
Mar 5, 2011
Messages
93
Reaction score
1
function onCastSpell(cid, var)
local target = getCreatureTarget(cid)
doMoveCreature(target, 0)
end

I thought that was the end of it, until I pushed someone through a wall.

Is there a way to make sure I can't push people through walls, counters or into houses, or anything else that players shouldn't be able to walk over?
 
Back
Top