Method TryCreateNuiWindow
TryCreateNuiWindow(NuiWindow, out NuiWindowToken, string)
Create a NUI window for this player.
public bool TryCreateNuiWindow(NuiWindow window, out NuiWindowToken token, string windowId = "")
Parameters
windowNuiWindowThe window to create.
tokenNuiWindowTokenThe created player-unique token for this window instance.
windowIdstringA unique alphanumeric ID identifying this window. Re-creating a window with the same id of one already open will immediately close the old one.
Returns
- bool
True if the window was successfully created, otherwise false.