Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mapList = {241035,241036,241037}
- local queueMaps = {}
- function mapChange()
- if #queueMaps > 0 then
- tfm.exec.newGame(queueMaps[1])
- queueMaps[1] = nil
- else
- tfm.exec.newGame(mapList[math.random(0, #mapList)])
- end
- end
- -- [[ Disable ]] --
- system.disableChatCommandDisplay(nil)
- for _, v in next, {'AutoTimeLeft', 'AutoShaman', 'AutoNewGame', 'AutoScore', 'AfkDeath', 'PhysicalConsumables'} do
- tfm.exec['disable' .. v]()
- end
- -- [[ Functions Lib ]] --
- local split = function(str, s)
- local res = {}
- for part in string.gmatch(str, "[^" .. s .. "]+") do
- table.insert(res, part)
- end
- return res
- end
- mapChange()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement