Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function ALimparMapaA()
- local configClean = {
- Map = {
- LS = {x = 783, y = 742, z = 6}, -- LIMIT NORT WEST
- LI = {x = 1151, y = 1110, z = 6}, -- LIMIT SUL EAST
- },
- }
- local ItensIDS = {2310, 18390, 2420, 2553, 1988, 3058, 3065, 2269, 2308, 2273, 2262, 7620, 2293, 2273, 2261, 2304, 7620, 2268, 2278, 8890, 2195, 2579, 2578, 8266, 2169} -- IDS FOR REMOVE
- for x = configClean.Map.LS.x, configClean.Map.LI.x do
- for y = configClean.Map.LS.y, configClean.Map.LI.y do
- for z = 1, 6 do
- for lista = 1, #ItensIDS do
- local tile = Tile(x, y, z)
- if tile then
- local field = tile:getItemById(ItensIDS[lista])
- if field then
- field:remove()
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement