huyjvguyen Posted July 29, 2015 Share Posted July 29, 2015 screenCinema = createBrowser(1000,1000) addEventHandler("onClientBrowserCreated", screenCinema, function() requestBrowserDomains({ "mtasa.com" },{"youtube.com"}) --loadBrowserURL(webBrowser, "html/site.html") loadBrowserURL(screenCinema, "youtube.com") addEventHandler("onClientRender", root, webBrowserRender) end ) function webBrowserRender() dxDrawMaterialLine3D (110,1140,30,110,1140,14, screenCinema, 18.5, tocolor(255,255,255,255)) end Link to comment
Bonsai Posted July 29, 2015 Share Posted July 29, 2015 Describe your problem, post some debug log ... Why would anyone help you like this? Link to comment
huyjvguyen Posted July 29, 2015 Author Share Posted July 29, 2015 Describe your problem, post some debug log ...Why would anyone help you like this? problem is: can not link to webui, Link to comment
GTX Posted July 29, 2015 Share Posted July 29, 2015 What does that mean? screenCinema = createBrowser(1000,1000) addEventHandler("onClientBrowserCreated", screenCinema, function() requestBrowserDomains({ "mtasa.com", "youtube.com"}) --loadBrowserURL(webBrowser, "html/site.html") loadBrowserURL(screenCinema, "youtube.com") addEventHandler("onClientRender", root, webBrowserRender) end ) function webBrowserRender() dxDrawMaterialLine3D (110,1140,30,110,1140,14, screenCinema, 18.5, tocolor(255,255,255,255)) end Link to comment
MisterQuestions Posted July 29, 2015 Share Posted July 29, 2015 What does that mean? screenCinema = createBrowser(1000,1000) addEventHandler("onClientBrowserCreated", screenCinema, function() requestBrowserDomains({ "mtasa.com", "youtube.com"}) --loadBrowserURL(webBrowser, "html/site.html") loadBrowserURL(screenCinema, "youtube.com") addEventHandler("onClientRender", root, webBrowserRender) end ) function webBrowserRender() dxDrawMaterialLine3D (110,1140,30,110,1140,14, screenCinema, 18.5, tocolor(255,255,255,255)) end As i know you should use at the url this format: http://theurl.domain Link to comment
huyjvguyen Posted July 30, 2015 Author Share Posted July 30, 2015 What does that mean? screenCinema = createBrowser(1000,1000) addEventHandler("onClientBrowserCreated", screenCinema, function() requestBrowserDomains({ "mtasa.com", "youtube.com"}) --loadBrowserURL(webBrowser, "html/site.html") loadBrowserURL(screenCinema, "youtube.com") addEventHandler("onClientRender", root, webBrowserRender) end ) function webBrowserRender() dxDrawMaterialLine3D (110,1140,30,110,1140,14, screenCinema, 18.5, tocolor(255,255,255,255)) end i want dxDrawMaterialLine3D , like cinema. Link to comment
MisterQuestions Posted July 30, 2015 Share Posted July 30, 2015 What does that mean? screenCinema = createBrowser(1000,1000) addEventHandler("onClientBrowserCreated", screenCinema, function() requestBrowserDomains({ "mtasa.com", "youtube.com"}) --loadBrowserURL(webBrowser, "html/site.html") loadBrowserURL(screenCinema, "youtube.com") addEventHandler("onClientRender", root, webBrowserRender) end ) function webBrowserRender() dxDrawMaterialLine3D (110,1140,30,110,1140,14, screenCinema, 18.5, tocolor(255,255,255,255)) end i want dxDrawMaterialLine3D , like cinema. Why the hell you don't listened to me? 1.Youtube its already allowed 2. Change loadBrowserURL(screenCinema, "youtube.com") to loadBrowserURL(screenCinema, "htpp://www.youtube.com") Link to comment
huyjvguyen Posted July 30, 2015 Author Share Posted July 30, 2015 What does that mean? screenCinema = createBrowser(1000,1000) addEventHandler("onClientBrowserCreated", screenCinema, function() requestBrowserDomains({ "mtasa.com", "youtube.com"}) --loadBrowserURL(webBrowser, "html/site.html") loadBrowserURL(screenCinema, "youtube.com") addEventHandler("onClientRender", root, webBrowserRender) end ) function webBrowserRender() dxDrawMaterialLine3D (110,1140,30,110,1140,14, screenCinema, 18.5, tocolor(255,255,255,255)) end i want dxDrawMaterialLine3D , like cinema. Why the hell you don't listened to me? 1.Youtube its already allowed 2. Change loadBrowserURL(screenCinema, "youtube.com") to loadBrowserURL(screenCinema, "htpp://www.youtube.com") you mean: screenCinema = createBrowser(1000,1000) addEventHandler("onClientBrowserCreated", screenCinema, function() requestBrowserDomains({ "mtasa.com" },{"youtube.com"}) --loadBrowserURL(webBrowser, "html/site.html") loadBrowserURL(screenCinema, "https://youtube.com") addEventHandler("onClientRender", root, webBrowserRender) end ) function webBrowserRender() dxDrawMaterialLine3D (110,1140,30,110,1140,14, screenCinema, 18.5, tocolor(255,255,255,255)) end Link to comment
MisterQuestions Posted July 30, 2015 Share Posted July 30, 2015 The urls should have http:// yeah. 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