Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 666 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 666 Bytes

DUICreator

Creates awesome DUI inside GTA ! Easily!

Example:

alt text

You can check example code in Example.cs

DUIHandler exposes 3 ways to create duis

Exports.Add("createDui", new Func<string, string, Task<DuiContainer>>(AddDui));
Exports.Add("CreateRandomUniqueDuiContainer", new Func<string, Task<DuiContainer>>(CreateRandomUniqueDuiContainer));
Exports.Add("destroyAllDui", new Func<Task>(DestroyAllDui));

AddDui(String renderTarget, string url)
CreateRandomUniqueDuiContainer(url) Creates a random DUI for this url with unique renderTarget
destroyAllDui Removes all DUI without destroying for reuseability !!