Jump to content

Help on DirectX Drawing - SOLVED, CLOSE PLEASE


12p

Recommended Posts

hello there, it's me again. I just want to know, there is some way to change a "DirectX" text? I want to do some kind of cutscene, and use DirectX as the storyteller. But I dunno if there is some way to change its text, or just use another DirectX text...

Edited by Guest
Link to comment
  
mytext = "first text" 
alpha=255 
addEventHandler("onClientRender", getRootElement(), function() 
if (alpha>0) then alpha=alpha-1 end 
dxDrawText(mytext, 0, 0, 0, 0, tocolor(255,255,255,alpha)) 
end) 
setTimer(function() 
mytext = "2nd text" 
end, 1000, 1) 
  

now do whatever you want with it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...