milbradt
New Member
- Joined
- Dec 25, 2011
- Messages
- 177
- Solutions
- 1
- Reaction score
- 4
Code:
local summons = getCreatureSummons(cid)
local monster = "Orc"
for k = 1, #summons do
if getCreatureName(summons[k]):lower() == monster:lower() then
doCreatureSay(cid,"true",19)
else
doCreatureSay(cid,"false",19)
end
end
By that returning the two when I have more than 2 summons?