i have this function on spell
and verific if have thw summon "demon"
thx
i need that spell remove the respective summonfunction onCastSpell(cid, var)
if isInArray(getCreatureSummons(cid), getCreatureByName("demon"), false) then
return doCombat(cid, combat, var)
else
doPlayerSendCancel(cid, "you don't have monsters to transmuted.")
end
end
and verific if have thw summon "demon"
thx