Jump to content

login panel?


Recommended Posts

  
function login() 
local width, height = guiGetScreenSize() 
local background =  createBrowser(width, height, false, false) 
    addEventHandler("onClientBrowserCreated", background,  
    function() 
     
        loadBrowserURL(background, "video.html") 
    end) 
 dxvideo = dxDrawImage(0, 0, width, height, background, 0, 0, 0, tocolor(255,255,255,255), true) 
button = guiCreateButton(0.3900, 0.700, 0.0850, 0.0300, "Đăng nhập", true,dxvideo) 
end 
addEventHandler("onClientRander",getRootElement(),login) 
  

problem is the background of login is not load link video

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