local master = Creature(cid):getMaster()
if master ~= nil and master:isPlayer() then
print("The creature is a summon of a player, and the master is level: " .. master:getLevel())
else
print("The creature is not a summon of a player")
end
local master = getCreatureMaster(cid)
if master ~= nil and isPlayer(master) then
doCreatureSay(cid, "The creature is a summon of a player", TALKTYPE_ORANGE_1)
else
doCreatureSay(cid, "The creature is not a summon of a player", TALKTYPE_ORANGE_1)
end