Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Video: https://www.youtube.com/watch?v=27TYjWk8FCw&feature=youtu.be
- sec = 0
- tim = false
- function main()
- while not isSampAvailable() do wait(0) end
- font = renderCreateFont('Verdana', 8, 13)
- while true do wait(0)
- renderFontDrawText(font, tostring(sec), 50, 350, -1)
- if not tim then
- lua_thread.create(Timer)
- tim = true
- end
- end
- end
- function Timer()
- while true do wait(1000)
- sec = sec + 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement