Jump to content

[Help] problem with local html


Recommended Posts

Posted

Hello, I have a problem. How do I upload the URL of a local html file? I tried typing http://mta/local/html.html but it doesn't load anything. Other links, but already on the Internet everything loads normally.

Posted
26 minutes ago, Addlibs said:

When creating a browser you need to specify 'true' for the isLocal parameter to be able to load local files.

Yes, I know. I have true installed, but it still doesn't work.

Posted

Check your debug (debugscript 3) for errors, also make sure you added the file into your meta and you're using the correct path

Posted
3 hours ago, N3xT said:

Check your debug (debugscript 3) for errors, also make sure you added the file into your meta and you're using the correct path

There are no errors in debugging. Added to the meta file. If you enter the following in a normal browser http://127.0.0.1:22005/resource/html.html then the file opens

  • Moderators
Posted
15 hours ago, MRmihailZH said:

Yes, I know. I have true installed, but it still doesn't work.

Did you add the download able assets(+ html) in to the meta.xml? (And check if those files are actually downloaded in the client folder)

 

https://wiki.multitheftauto.com/wiki/CEF_Tutorial

11 minutes ago, MRmihailZH said:

There are no errors in debugging. Added to the meta file. If you enter the following in a normal browser http://127.0.0.1:22005/resource/html.html then the file opens

That is afaik serving files from serverside.

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