Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local nextUpdate = 0
- local text = "I want you to know that"
- local itera = 0
- addEventHandler("onClientRender", root, function ()
- local timeNow = getTickCount()
- if timeNow > nextUpdate then
- nextUpdate = timeNow + 1000/10
- --outputChatBox(itera)
- if itera < #text then
- itera = itera + 1
- elseif itera == #text then
- itera = 1
- end
- end
- dxDrawText(text:sub(1, itera), (sX - 467) / 2, (sY - 77) / 2, ((sX - 467) / 2) + 467, ( (sY - 77) / 2) + 77, tocolor(255, 255, 255, 255), 2.00, "default", "left", "top", false, false, false, false, false)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement