SkatCh Posted May 19, 2014 Posted May 19, 2014 Hi guys please how can i add my server name here : Failure is simply an opportunity to begin again more intelligently - Henry Ford
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 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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 . Failure is simply an opportunity to begin again more intelligently - Henry Ford
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. Datastore - Store data to a database quickly. (Useful for saving scripted tables)
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 ... Failure is simply an opportunity to begin again more intelligently - Henry Ford
xXMADEXx Posted May 19, 2014 Posted May 19, 2014 Use the Text Functions on the server-side. The Ultimate Lua Tutorial! | MTA PHP SDK
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 USC Informations Head Staff & Owner Of USC. Youtube Channel : My Channel
Snow-Man Posted May 23, 2014 Posted May 23, 2014 dxDrawTextfixed all resolutions? how do? use guiGetScreenSize() USC Informations Head Staff & Owner Of USC. Youtube Channel : My Channel
..: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 ) MTA:Rust Pre-Alpha Build v.0.3: https://forum.mtasa.com/viewtopic.php?f=114&t=97848 2Pac: ''Only God can judge me!''
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