Advertisement
Tectoon

[TFM] Tempo Jogado

Sep 3rd, 2015
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local tempo=1;
  2.  
  3. function eventLoop(currentTime, timeRemaining)
  4.         tempo = tempo +0.5
  5.         if (tempo%1 == 0) then
  6.         T = string.format("%.2d:%.2d",tempo/60%999999, tempo%60)
  7.         tfm.exec.setUIMapName("<N>Tempo Jogado: <J>"..T.."</J>")
  8.         end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement