Jump to content

need to show an image


emuk

Recommended Posts

Posted

since no one wants to wait that finishes downloading resources, can I somehow to show an image (i have already a text but i prefer an image) during the download ?

thanks

Posted
You can't show an image, you have to use the server-side text functions.

Thats wrong! Cleary wront!

  
addEventHandler("onClientRender", root, function() 
        if isTransferBoxActive() then  
            dxDrawImage("youArguments") 
     end 
end 
) 
  

Posted (edited)
You can't show an image, you have to use the server-side text functions.

Thats wrong! Cleary wront!

  
addEventHandler("onClientRender", root, function() 
        if isTransferBoxActive() then  
            dxDrawImage("youArguments") 
     end 
end 
) 
  

onClientRender won't start until the resource is downloaded and started. It won't start until the entire server is downloaded. There for, your argument is invalid.

Edited by Guest
Posted

onClientRender won't start until the resource is downloaded and started. It won't start until the entire server is downloaded. There for, your argument is invalid.

How can you check if he is downloading the resources then lol?? Thats only the way I know.

Posted

onClientRender won't start until the resource is downloaded and started. It won't start until the entire server is downloaded. There for, your argument is invalid.

How can you check if he is downloading the resources then lol?? Thats only the way I know.

You can't call client functions when the client is still downloading. Therefor, you can't create an image while the client is downloading.

Posted

I had another idea: can I set to download only the map and the resource with the photo and after a few seconds with a timer download the rest?

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