Skip to main content

ScriptWindowCreated

Client-side event

C#​

public delegate void OnScriptWindowCreatedDelegate(HtmlWindow window);

Parameters​

  • window: The created browser handler, output expects RAGE.Ui.HtmlWindow type.

Example​

Events.OnScriptWindowCreated += OnScriptWindowCreated;
public void OnScriptWindowCreated(RAGE.Ui.HtmlWindow window)
{
RAGE.Chat.Output($"Find out what this does");
}