Jump to content

Server name


SkatCh

Recommended Posts

Posted

Hi guys please how can i add my server name here : 8T4uh.png

Failure is simply an opportunity to begin again more intelligently - Henry Ford

Posted

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.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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

Posted

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)

Posted

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

Posted

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 
) 

76561198066470453.png

SP37Ecj.jpg?2MTA:Rust Pre-Alpha Build v.0.3:SP37Ecj.jpg?2

https://forum.mtasa.com/viewtopic.php?f=114&t=97848

2Pac: ''Only God can judge me!''

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