Czesiek

Issue with excuting cef in game

Recommended Posts

Hello, 

I am starting with ragemp scripting and I want to try to do something with html/css/js and i have some issue when creating a browser to execute html with code :

let browser = mp.browsers.new("package://[my folder where is html file]/index.html"); // Get from rage wiki

and the console log to me something like: Cannot read property 'new' of undefined 

Mayby I am doing something wrong. 

I will be very thankful for any help. This is also my first post on the forum so if something is wrong I am really sorry :) .

 

Share this post


Link to post
Share on other sites

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.