Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- adm="COLOQUESEUNICKAQUI"
- tfm.exec.newGame()
- eventKeyboard=table.foreach({32,80},function(_,k) system.bindKeyboard(adm,k,true,true) end) or function(n,k)
- if k==80 then tfm.exec.newGame(tfm.get.room.currentMap) end
- if k==32 then local xml,current=tfm.get.room.xmlMapInfo.xml,0
- xml=xml:gsub("<","*"):gsub(",0,",",,")
- print("<R>"..tfm.get.room.currentMap.." XML:")
- while #xml>current do current=current+3001
- print("<R>"..xml:sub(current-3000,current):gsub("*","<"))
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement