Search Results for

    Show / Hide Table of Contents

    Class Notification

    Methods to manage the display of notifications above the minimap.

    Inheritance
    Object
    Notification
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA.UI
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public static class Notification

    Methods

    | Improve this Doc View Source

    Hide(Int32)

    Hides a Notification instantly.

    Declaration
    public static void Hide(int handle)
    Parameters
    Type Name Description
    Int32 handle

    The handle of the Notification to hide.

    | Improve this Doc View Source

    Show(NotificationIcon, String, String, String, Boolean, Boolean)

    Creates a more advanced (SMS-alike) Notification above the minimap showing a sender icon, subject and the message.

    Declaration
    public static int Show(NotificationIcon icon, string sender, string subject, string message, bool fadeIn = false, bool blinking = false)
    Parameters
    Type Name Description
    NotificationIcon icon

    The notification icon.

    String sender

    The sender name.

    String subject

    The subject line.

    String message

    The message itself.

    Boolean fadeIn

    If true the message will fade in.

    Boolean blinking

    if set to true the notification will blink.

    Returns
    Type Description
    Int32

    The handle of the Notification which can be used to hide it using Hide(Int32).

    | Improve this Doc View Source

    Show(String, Boolean)

    Creates a Notification above the minimap with the given message.

    Declaration
    public static int Show(string message, bool blinking = false)
    Parameters
    Type Name Description
    String message

    The message in the notification.

    Boolean blinking

    if set to true the notification will blink.

    Returns
    Type Description
    Int32

    The handle of the Notification which can be used to hide it using Hide(Int32).

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX