mint3d Posted August 11, 2015 Posted August 11, 2015 How can I attach a web browser to a world object ? So I don't need a gui to control it I can simply control it from a world object and stuff. Hard to explain what I mean but like how can I make it simply just attach to a world object instead of gui ? Skype: Jordan_Nymph
Moderators IIYAMA Posted August 11, 2015 Moderators Posted August 11, 2015 the createBrowser function returns a dynamic texture, which you can render with a 3D render function near the object. Using: dxDrawMaterialLine3D Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
mint3d Posted August 11, 2015 Author Posted August 11, 2015 I mean like this kinda, Skype: Jordan_Nymph
GTX Posted August 11, 2015 Posted August 11, 2015 Shaders. engineApplyShaderToWorldTexture Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
mint3d Posted August 12, 2015 Author Posted August 12, 2015 How do I make a texture into a shader, I am like really confused ? Skype: Jordan_Nymph
mint3d Posted August 12, 2015 Author Posted August 12, 2015 function test (shader, texture) local myShader = dxCreateShader( "hello.fx" ) dxSetShaderValue( myShader, "texure0", webBrowser ) engineApplyShaderToWorldTexture( myShader, "drvin_screen" ) end addEventHandler("onClientResourceStart", getRootElement(), test) Would it be something like this ? Skype: Jordan_Nymph
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