Tokio

[HELP] How to make a html help panel?

Recommended Posts

I want create a help panel, with html, but i don't know how to make this.. :S Anyone can help?

Share this post


Link to post
  1. Add the html file (and other web files) in to your meta.xml
  2. Follow the example of this page: https://wiki.multitheftauto.com/wiki/GuiCreateBrowser
    Enable: isLocal: Sets whether the browser can only show local content or content from the internet (see examples over here for more information)
  3. loadBrowserURL(webBrowser, "http://mta/local/index.html")

    This is your root: http://mta/local/

  4. And you are ready to go!

Edited by IIYAMA

Share this post


Link to post
4 minutes ago, IIYAMA said:
  1. Add the html file (and other web files) in to your meta.xml
  2. Follow the example of this page: https://wiki.multitheftauto.com/wiki/GuiCreateBrowser
    Enable: isLocal: Sets whether the browser can only show local content or content from the internet (see examples over here for more information)
  3. 
    loadBrowserURL(webBrowser, "http://mta/local/index.html")
    


    And you are ready to go!

Does not working, "404 - Not found" :S 

Share this post


Link to post

I am posting informative content.

If you want help, then do the same.

 

Share this post


Link to post
7 minutes ago, IIYAMA said:

I am posting informative content.

If you want help, then do the same.

 

What do you mean?

Share this post


Link to post
9 minutes ago, 50cent said:

What do you mean?

For starters, how about you are going to look at it from `helper` perspective.

  1. What does the helper need, to solve the issue?
  2. When does the helper actually takes time to help somebody?

 


So:

  1. What did you try?(lua)
  2. How you organized your meta.xml?
  3. How you organized your files?
  4. (How does your website looks like in the default browser?)
  5. Etc.

 

How am I suppose to figure out what your problem is, if I can't match the problem, with the thing that creates the problem in the first place?

I am not going to ask you to do those things mate, you have to do those automatic.

 

 

Edited by IIYAMA
  • Like 2

Share this post


Link to post

Now working fine, but how to change the url with button click? I tried a lot of opportunity, but they did not work. :S

Sorry for my bad english :S 

Share this post


Link to post

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.