Skip to main content

ScriptWindowDestroyed

Client-side event

C#​

public delegate void OnScriptWindowDestroyedDelegate(HtmlWindow window);

Parameters​

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

Example​

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