Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if getPlayerFromVoc(cid) == 21 then -- FromVoc from vocat xml!
- local playerLevel = getPlayerLevel(cid)
- for lp, data in ipairs(piesConfig) do
- print('getPlayerRebornLvl(cid): ' .. getPlayerRebornLvl(cid) .. ' | lp: ' .. lp)
- if getPlayerRebornLvl(cid) > 0 and lp >= 3 then
- if playerLevel >= data.lvl[1] and playerLevel <= data.lvl[2] then
- doSummonMonster(cid, data.name, true)
- break
- end
- elseif getPlayerRebornLvl(cid) == 0 then
- if playerLevel >= data.lvl[1] and playerLevel <= data.lvl[2] then
- doSummonMonster(cid, data.name, true)
- break
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement