Castillo Posted May 19, 2014 Posted May 19, 2014 You can create or draw a text in there, you can either do it using GUI label or DX drawing. dxDrawText guiCreateLabel
SkatCh Posted May 19, 2014 Author Posted May 19, 2014 can you please tell me how to create it please . i am newbie in scripting .
justn Posted May 19, 2014 Posted May 19, 2014 You can create the dx text or gui label using guieditor which can be found on the mta community.
SkatCh Posted May 19, 2014 Author Posted May 19, 2014 ok i will try it please i have one more question how can i add a picture like SAUR server , when the Progress bar appear : example Dowloading resource please wait ...
TAPL Posted May 20, 2014 Posted May 20, 2014 ok i will try it please i have one more question how can i add a picture like SAUR server , when the Progress bar appear :example Dowloading resource please wait ... https://forum.multitheftauto.com/viewtopic.php?f=91&t=67275
Snow-Man Posted May 20, 2014 Posted May 20, 2014 (edited) dxDrawText and use event addEventHandler("onClientRender", root, function) Edited May 23, 2014 by Guest
Snow-Man Posted May 23, 2014 Posted May 23, 2014 dxDrawTextfixed all resolutions? how do? use guiGetScreenSize()
..:D&G:.. Posted May 23, 2014 Posted May 23, 2014 Dunno if you still need help but eh... here you go. addEventHandler( "onClientResourceStart", resourceRoot, function( ) local screenX, screenY = guiGetScreenSize( ) local label = guiCreateLabel( 0, 0, screenX, 15, "BlaBla Server v0.0.0", false ) guiSetSize( label, guiLabelGetTextExtent( label ) + 5, 14, false ) guiSetPosition( label, screenX - guiLabelGetTextExtent( label ) - 5, screenY - 27, false ) guiSetAlpha( label, 0.5 ) end )
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