Advertisement
poxipox

Untitled

Mar 15th, 2023
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. if getPlayerFromVoc(cid) == 1 then -- FromVoc from vocat xml!
  2. local playerLevel = getPlayerLevel(cid)
  3. for lp, data in ipairs(piesConfig) do
  4. if getPlayerRebornLvl(cid) > 0 and lp >= 2 then
  5. if playerLevel >= data.lvl[1] and playerLevel <= data.lvl[2] then
  6. doSummonMonster(cid, data.name, true)
  7. break
  8. end
  9. else
  10. if playerLevel >= data.lvl[1] and playerLevel <= data.lvl[2] then
  11. doSummonMonster(cid, data.name, true)
  12. break
  13. end
  14. end
  15. end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement