ScriptWindowCreated

From RAGE Multiplayer Wiki
Revision as of 16:04, 27 November 2018 by Sake (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Event

 C#



C# Syntax

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");
}