The code below works for player just fine
= Returns table
I want to get position for the summons as well, but the code below does not work
= Returns false
tfs 1.0
Any help appreciated
Lua:
function onCastSpell(cid, var)
print(getCreaturePosition(cid))
return true
end
= Returns table
I want to get position for the summons as well, but the code below does not work
Lua:
function onCastSpell(cid, var)
summons = Player(cid):getSummons()
print(getCreaturePosition(summons))
return true
end
= Returns false
tfs 1.0
Any help appreciated