fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Client / Notification

Class: Notification

The Notification class represents a game notification that can be hidden.

Constructors

new Notification()

new Notification(handle): Notification

Creates an instance of the Notification class.

Parameters

handle: number

Identifier for the notification.

Returns

Notification

Defined in

client/ui/Notification.ts:10

Methods

hide()

hide(): void

Hides the notification.

This method will remove the notification associated with the handle from the game’s notification area.

Returns

void

Defined in

client/ui/Notification.ts:19