ScriptWindowDestroyed

From RAGE Multiplayer Wiki
Revision as of 23:47, 26 November 2018 by Sake (talk | contribs) (Created page with "{{ClientSide}} == C# Syntax == {{CSharp| <pre> public delegate void OnScriptWindowDestroyedDelegate(HtmlWindow window); </pre> }} === Parameters === * '''window''': The crea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Client-Side

C# Syntax

C#
public delegate void OnScriptWindowDestroyedDelegate(HtmlWindow window);

Parameters

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

Examples

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