Jump to content

jean001

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

jean001's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Oh Sorry it's my mistake, i make two file there is index.html and client.lua the source code on the post should be have 2 like this index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Test</title> </head> <body> <img src="https://www.kibrispdr.org/data/gta-v-wallpaper-27.jpg" width="1340px" height="670px"> </body> </html> client.lua local screenWidth, screenHeight = guiGetScreenSize() local page = "http://mta/local/index.html" local webBrowser = guiCreateBrowser(0, 0, screenWidth, screenHeight, true, true, false) local theBrowser = guiGetBrowser(webBrowser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, page) showCursor(true) end)
  2. I just make a script to input a HTML into MTA:SA and i found error say "SCRIPT ERROR: html-test\index.html:1: unexpected symbol near '<' " here my HTML code & lua script <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Test</title> </head> <body> <img src="https://www.kibrispdr.org/data/gta-v-wallpaper-27.jpg" width="1340px" height="670px"> </body> </html> local screenWidth, screenHeight = guiGetScreenSize() local page = "http://mta/local/index.html" local webBrowser = guiCreateBrowser(0, 0, screenWidth, screenHeight, true, true, false) local theBrowser = guiGetBrowser(webBrowser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, page) showCursor(true) end)
  3. I just make a script to input a HTML into MTA:SA and i found error say "SCRIPT ERROR: html-test\index.html:1: unexpected symbol near '<' " here my HTML code & lua script <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Test</title> </head> <body> <img src="https://www.kibrispdr.org/data/gta-v-wallpaper-27.jpg" width="1340px" height="670px"> </body> </html> local screenWidth, screenHeight = guiGetScreenSize() local page = "http://mta/local/index.html" local webBrowser = guiCreateBrowser(0, 0, screenWidth, screenHeight, true, true, false) local theBrowser = guiGetBrowser(webBrowser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, page) showCursor(true) end)
×
×
  • Create New...