Thetroz

[EvenLoop] Temporizador.

Dec 17th, 2013
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. timer = 0
  2. despawnTime=5
  3.  
  4. ui.addTextArea(1, "", nil, -2, 363, 700, 30, 0.6);
  5. timer = 0
  6.  
  7. function eventLoop(curTime, timeR)
  8.    if timer == despawnTime * 3 then
  9.         ui.removeTextArea(1, nil)
  10.     else
  11.             timer = timer + 1
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment