CreateNui3d
Create a 3d nui in the game, simply render a html page in a DUI
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
GFXName | string | - | The name of your .gfx render | |
Directory | anything | - | The directory of the html file |
Dont need to be called every frame
Returns
Child | Data Type | Description |
---|---|---|
N3dClass | class | The nui 3d class to interact with the n3d (click on N3dClass to see the class method) |
handle | number | The handle for interact with the n3d |
Example
local n3d = CreateNui3d("utility_lib_1", "html/ui.html")
n3d:show(vector3(0.0, 0.0, 0.0))
My first project with the n3d
I created a ammo hud with the n3d and its amazing, is like an object, but also like an nui,
sincerely i love this thing!
If dont start click me
You can found this script here > https://forum.cfx.re/t/release-utility-ammohud/4291362
Last update: June 6, 2023
Created: January 6, 2022
Created: January 6, 2022