Jump to content

Edit dx message


ODutii

Recommended Posts

Did you mean that?

local sx,sy = guiGetScreenSize ( ) ; 
local Text = "Welcome in my server" ;

addEventHandler ( "onClientRender" , root , function ( ) 
dxDrawText ( Text , 0 , 0 , sx , sy , tocolor(255,255,255,200),2,"default-bold","center","center")
end ) 

addCommandHandler ( "changeText" , function ( _ , ... ) 
Text = table.concat ( {...} , " " )
end)

if you want change text write in f8 

changeText yourText

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...