Jump to content

Intro when resources are downloading


Guest Guest26901

Recommended Posts

Hey Guys!

How can I make "intro" [ black screen with "greet titles" ] when resources are downloading on the server ?

... and when download will be done we're going to see login pannel.

Please help me!

Thanks. ;)

Link to comment
function showClientImage() 
    myImage = guiCreateStaticImage( 0.0,0.0,1279.0,767.0, "images/image.png", true ) 
end 
addEventHandler( "onClientResourceStart", resourceRoot, showClientImage ) 
  
function hideClientImage() 
    if isElement ( myImage ) then destroyElement ( myImage ) end 
end 
bindKey("space", "down", hideClientImage) 

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