Namespace: CFXAPI set: clientGame: rdr3
CREATE_DUI
// CreateDui
long CREATE_DUI(char* url, int width, int height);
Parameters:- url:
The initial URL to load in the browser.
- width:
The width of the backing surface.
- height:
The height of the backing surface.
Creates a DUI browser. This can be used to draw on a runtime texture using CREATE_RUNTIME_TEXTURE_FROM_DUI_HANDLE.
WARNING! Natives in the CFX namespace are taken from FiveM. Most of the client-side or server-side game state related natives are NOT AVAILABLE in RedM!