Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if getPlayerFromVoc(cid) == 1 then -- FromVoc from vocat xml!
- local playerLevel = getPlayerLevel(cid)
- for lp, data in ipairs(piesConfig) do
- if getPlayerRebornLvl(cid) > 0 and lp >= 2 then
- if playerLevel >= data.lvl[1] and playerLevel <= data.lvl[2] then
- doSummonMonster(cid, data.name, true)
- break
- end
- else
- 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