Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function doPlayerAddHundreds(cid, itemid, count) -- By Byerne XTibia
- if count <= 100 then
- return doPlayerAddItem(cid, itemid, count)
- end
- local count_now = count
- while count_now > 100 do
- doPlayerAddItem(cid, itemid, 100)
- count_now = count_now - 100
- end
- return doPlayerAddItem(cid, itemid, count_now)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement