ODutii Posted July 28, 2019 Share Posted July 28, 2019 I have a dx panel on my screen, written: MyServer, how do I edit this panel message in the script? Link to comment
DNL291 Posted July 29, 2019 Share Posted July 29, 2019 By finding this text in the script and changing it's text? Show here your code if you have problems with that. Link to comment
' A F . Posted July 29, 2019 Share Posted July 29, 2019 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now