Jump to content

Web Browser 3D


Pipee20k

Recommended Posts

te refieres a algo como esto

RgCHJyH.png

function dxDrawImage3D(x,y,z,w,h,m,c,r,...) 
        local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z 
    return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c , ...) 
end 
  
  
local screenWidth, screenHeight = guiGetScreenSize() 
  
local webBrowser = createBrowser(screenWidth, screenHeight, false, false) 
  
function webBrowserRender() 
dxDrawImage3D(2508.8330078125, -1671.087890625, 13.382167816162, 10, 10, webBrowser, tocolor(255,255,255,255), 0, 2508.8330078125, -1671.087890625, 15) 
end 
  
addEventHandler("onClientBrowserCreated", webBrowser,  
    function() 
        loadBrowserURL(webBrowser, "https://forum.multitheftauto.com/viewtopic.php?f=145&t=90756") 
        addEventHandler("onClientRender", root, webBrowserRender) 
    end 
) 

Link to comment
te refieres a algo como esto

RgCHJyH.png

function dxDrawImage3D(x,y,z,w,h,m,c,r,...) 
        local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z 
    return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c , ...) 
end 
  
  
local screenWidth, screenHeight = guiGetScreenSize() 
  
local webBrowser = createBrowser(screenWidth, screenHeight, false, false) 
  
function webBrowserRender() 
dxDrawImage3D(2508.8330078125, -1671.087890625, 13.382167816162, 10, 10, webBrowser, tocolor(255,255,255,255), 0, 2508.8330078125, -1671.087890625, 15) 
end 
  
addEventHandler("onClientBrowserCreated", webBrowser,  
    function() 
        loadBrowserURL(webBrowser, "https://forum.multitheftauto.com/viewtopic.php?f=145&t=90756") 
        addEventHandler("onClientRender", root, webBrowserRender) 
    end 
) 

Exactamente jaja, estuve probando y mi codigo era casi el mismo, gracias!

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...