Hi, i have question
i need make spell that work when we got summon with name, not with value.
ex: if we have summon ghost, we can use spell, and when we have other summon e.g Fireman we cant cast this spell because its other summon.
i dont know how to do this, because other player will have too summon with name Ghost, and when they will see on screen this summon they can use spell?
i need change this:
i need make spell that work when we got summon with name, not with value.
ex: if we have summon ghost, we can use spell, and when we have other summon e.g Fireman we cant cast this spell because its other summon.
i dont know how to do this, because other player will have too summon with name Ghost, and when they will see on screen this summon they can use spell?
i need change this:
Code:
local summons = getCreatureSummons(cid)
if #summons <= 0 then
return doPlayerSendCancel(cid,"You dont have summon Ghost!")
end