local pos = getCreaturePos(cid,target)
function onCastSpell(cid, var)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "your target is: " .. pos(var))
return doCombat(cid, combat, var)
end
I'm just trying to make a simple spell that will return the target players position
so...