[This is preliminary documentation and is subject to change.]
Adds a new notification above the map.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
public static uint DisplayNotification( string textureDictionaryName, string textureName, string title, string subtitle, string text )
Parameters
- textureDictionaryName
- Type: SystemString
The name of the game defined texture dictionary to display. - textureName
- Type: SystemString
The name of the texture in the dictionary to display. - title
- Type: SystemString
The title of the notification. Any HTML tags will be stripped. - subtitle
- Type: SystemString
The subtitle of the notification. Any HTML tags will be stripped. - text
- Type: SystemString
The text to display.
Supports a small subset of HTML.
Note, that while the limit for this parameter is ~960 characters, notifications displayed using this overload has a small visual limit. The smaller the font size, the more text can be displayed. Use the overload for long texts.
Return Value
Type: UInt32An unsigned 32-bit integer, representing the handle to the notification.
See Also