Quote: Originally Posted by Boneyx3 PHP Code: if pet.count_summoned() < 10 then
if pet.count_summoned() < 10 then
if pet.count_summoned() < (function() c= 0 for _,i in next,pet_info_map do c=c+1 end return c end)() then