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?
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?