Kamycz3q Posted February 28, 2020 Share Posted February 28, 2020 How i can hide this dxDrawImage?? dxDrawImage(screenWidth/4, screenHeight/4, screenWidth/2, screenHeight/2, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true) Link to comment
DORTEY Posted February 28, 2020 Share Posted February 28, 2020 create a render function with this and a unrender function. Link to comment
Kamycz3q Posted February 28, 2020 Author Share Posted February 28, 2020 Just now, DorteY said: create a render function with this and a unrender function. Can u give me a example please? Link to comment
DORTEY Posted February 28, 2020 Share Posted February 28, 2020 (edited) function renderUUUU() dxDrawImage(screenWidth/4, screenHeight/4, screenWidth/2, screenHeight/2, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true) end addEventHandler("onClientRender",root,renderUUUU) function unrenderUUUU() removeEventHandler("onClientRender",root,renderUUUU) end i think it's correct Edited February 28, 2020 by DorteY Link to comment
Kamycz3q Posted February 28, 2020 Author Share Posted February 28, 2020 5 minutes ago, DorteY said: function renderUUUU() dxDrawImage(screenWidth/4, screenHeight/4, screenWidth/2, screenHeight/2, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true) end addEventHandler("onClientRender",root,renderUUUU) function unrenderUUUU() removeEventHandler("onClientRender",root,renderUUUU) end i think it's correct thanks Link to comment
DORTEY Posted February 28, 2020 Share Posted February 28, 2020 (edited) no problem^^ if you have more questions/problems tell me Edited February 28, 2020 by DorteY Link to comment
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