• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Spell for target player pos

Albanon

New Member
Joined
Mar 5, 2011
Messages
93
Reaction score
1
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, basically, exivia pos "bob

and a text message tells the player bobs position.





I have no idea why this doesn't work. I'm using this distro https://otland.net/threads/8-60-the-forgotten-server-0-3-6-crying-damson-v8.147913/
 
Back
Top