AHMED MOSTAFA Posted January 25, 2018 Share Posted January 25, 2018 السلام عليكم ورحمة الله وبركاته عندي مشكلة في guiCreateBrowser اليوتيوب و جوجل و مواقع كثيرة تفتح لكن جربت الويكي ما رضي يفتح ابي اعرف وش المشكلة Link to comment
ccz Posted January 25, 2018 Share Posted January 25, 2018 يمكن عشان دا مود من العبة نفسها فمينفعش تشغلها من عليها Link to comment
AHMED MOSTAFA Posted January 25, 2018 Author Share Posted January 25, 2018 Just now, *Sailor said: يمكن عشان دا مود من العبة نفسها فمينفعش تشغلها من عليها مانا عايز اعرف المشكلة .. عايز اعرف ليه مش راضيين يفتحوه Link to comment
coNolel Posted January 25, 2018 Share Posted January 25, 2018 url: The url you want to load. It can either contain a remote website ("http://" prefix) or a website stored within a local resource ("http://mta/local/gui.html" for example, see Local Scheme Handler for details). Link to comment
AHMED MOSTAFA Posted January 25, 2018 Author Share Posted January 25, 2018 Just now, coNolel said: The url you want to load. It can either contain a remote website ("http://" prefix) جربت كدةhttps://wiki.multitheftauto.com وكدة ومنفعش wiki.multitheftauto.com Link to comment
Abdul KariM Posted January 26, 2018 Share Posted January 26, 2018 جرب هذا 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
AHMED MOSTAFA Posted January 26, 2018 Author Share Posted January 26, 2018 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
Abdul KariM Posted January 26, 2018 Share Posted January 26, 2018 انا جربته واشتغل معي تأكد من الرابط الاخير https://wiki.multitheftauto.com/wiki/Main_Page يكون بالشكل الي فوق Link to comment
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