Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config=[[
- #7
- 60
- 5
- ]]
- read={
- lines=function(string)
- local lines={}
- for line in string.gmatch(string,'(.-)%\n') do
- table.insert(lines,line)
- end
- return lines
- end,
- }
- function newMap()
- tfm.exec.newGame(read.lines(config)[1])
- tfm.exec.setGameTime(read.lines(config)[2])
- end
- function eventPlayerWon(name)
- tfm.exec.setGameTime(read.lines(config)[3])
- end
- newMap()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement