{"hash":"0x23EAF899","ns":"CFX","name":"CREATE_DUI","slug":"CREATE_DUI","official":true,"named":true,"luaName":"CreateDui","game":"cfx","apiset":"client","returnType":"long","params":[{"name":"url","type":"char*","description":"The initial URL to load in the browser."},{"name":"width","type":"int","description":"The width of the backing surface."},{"name":"height","type":"int","description":"The height of the backing surface."}],"returnsDescription":"A DUI object.","summary":"Creates a DUI browser.","descriptions":[{"source":"cfx","format":"md","body":"Creates a DUI browser. This can be used to draw on a runtime texture using CREATE_RUNTIME_TEXTURE_FROM_DUI_HANDLE."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/CREATE_DUI","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/CREATE_DUI.md","snippets":{"lua":"local retval = CreateDui(url, width, height)","luaInvoke":"local retval = Citizen.InvokeNative(0x23eaf899, url, width, height, Citizen.ResultAsInteger())","js":"const retval = CreateDui(url, width, height);","jsInvoke":"const retval = Citizen.invokeNative('0x23eaf899', url, width, height, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x23eaf899, url, width, height);","notes":[]}}