Jump to content

* guiCreateBrowser مشكلة


Recommended Posts

جرب هذا

local screenWidth, screenHeight = guiGetScreenSize( )

local window = guiCreateWindow( 0, 0, screenWidth, screenHeight, "Web Browser", false )

local browser = guiCreateBrowser( 0, 28, screenWidth, screenHeight, false, false, false, window )

local theBrowser = guiGetBrowser( browser )

requestBrowserDomains( { "https://wiki.multitheftauto.com" } )

addEventHandler( "onClientBrowserCreated",theBrowser, 
	function( )
		loadBrowserURL( source, "https://wiki.multitheftauto.com/wiki/Main_Page" )
	end
	)

allow ولاتنسى تحط 

Link to comment
3 hours ago, Abdul KariM said:

جرب هذا


local screenWidth, screenHeight = guiGetScreenSize( )

local window = guiCreateWindow( 0, 0, screenWidth, screenHeight, "Web Browser", false )

local browser = guiCreateBrowser( 0, 28, screenWidth, screenHeight, false, false, false, window )

local theBrowser = guiGetBrowser( browser )

requestBrowserDomains( { "https://wiki.multitheftauto.com" } )

addEventHandler( "onClientBrowserCreated",theBrowser, 
	function( )
		loadBrowserURL( source, "https://wiki.multitheftauto.com/wiki/Main_Page" )
	end
	)

allow ولاتنسى تحط 

 

ما فتح

 

local B1 = guiCreateBrowser	(0, 40, screenW, screenH-40, false, false, false --[[, P]] )
local B2 = guiGetBrowser	(B1)
--guiSetVisible				(P, false)
requestBrowserDomains		( { "https://wiki.multitheftauto.com" } )

go = function( )
	loadBrowserURL( source, "https://wiki.multitheftauto.com" )
end

addEventHandler( "onClientBrowserCreated", B2, go )

 

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...