TheSmart Posted July 21, 2015 Posted July 21, 2015 (edited) hey guys! i made it from *** but it not working here is it code local webBrowser = createBrowser(1200, 675) addCommandHandler("youtube", function() loadBrowserURL(webBrowser, "https://www.youtube.com/watch?v=kdemFfbS5H0") addEventHandler("onClientRender", root, function() -- Update texture data updateBrowser(webBrowser) -- We can simply draw the webbrowser now since it is a standard DirectX texture local x, y = 110.7, 1024.15 dxDrawMaterialLine3D(x, y, 23.25, x, y, 14.75, webBrowser, 18.2, tocolor(255, 255, 255, 255), x, y+1, 19) end ) end ) Edited July 21, 2015 by Guest
xeon17 Posted July 21, 2015 Posted July 21, 2015 I know what's the problem but you really should learn to use /debugscript3 A unique GangWar gamemode waiting for you!Click here for more information.
Simple0x47 Posted July 21, 2015 Posted July 21, 2015 Try this. local Width, Height = guiGetScreenSize() local webBrowser = createBrowser(Width, Height, false, false) addCommandHandler("youtube", function() loadBrowserURL(webBrowser, "https://www.youtube.com/watch?v=kdemFfbS5H0") addEventHandler("onClientRender", root, function() -- Update texture data updateBrowser(webBrowser) -- We can simply draw the webbrowser now since it is a standard DirectX texture local x, y = 110.7, 1024.15 dxDrawMaterialLine3D(x, y, 23.25, x, y, 14.75, webBrowser, 18.2, tocolor(255, 255, 255, 255), x, y+1, 19) end ) end ) "Keep making it simplex."
TheSmart Posted July 21, 2015 Author Posted July 21, 2015 now getting that error : http://prntscr.com/7v7bxp
xeon17 Posted July 21, 2015 Posted July 21, 2015 This error is because the function updateBrowser doesn't exist. A unique GangWar gamemode waiting for you!Click here for more information.
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