CreateCefBrowser

From GTA Network Wiki
Jump to navigation Jump to search

Template:Client side javascript Creates a CEF browser for the game to render.

Syntax

API.CreateCefBrowser(double width, double height, bool local);

Required Arguments

  • width: parameter input should be in double type.
  • height: parameter input should be in double type.
  • local: parameter input should be in bool type. If this is false, you will not be able to communicate with it via ResourceCall, for example. Default is true.

NOTE: This function returns data in Browser type.

Usage example(s)

API.CreateCefBrowser(double width, double height, bool local);

Changelog

Version Description
1.0 Release.

References