Jump to content

[HELP]: loadBrowserURL and Browser


Skraund

Recommended Posts

Hello, I would like to ask how you can make the browser appear by pressing the P key, and turn off on the T?

Here's what I did at the moment:

    local browser = guiCreateBrowser( x*14, y*200, 500, 25, true, true, false )
    local theBrowser = guiGetBrowser( browser )

function createBrowser()
    loadBrowserURL( source, "http://mta/1/1.html" )
end
addEventHandler( "onClientBrowserCreated", root, createBrowser )

Edited by Skraund
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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