Advertisement
Guest User

Untitled

a guest
Apr 19th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local function timer(player)
  2. if cntdown < 0 then
  3. user:hud_remove(0)
  4. user:hud_remove(1)
  5. user:hud_remove(2)
  6. user:hud_remove(3)
  7. else
  8. cntdown = cntdown-1
  9. length1 = cntdown+iname:len()
  10. player:hud_change(0, number, length1*2+1)
  11. minetest.after(1, timer, player)
  12. end
  13. end
  14. timer(user)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement