ScriptHook.ShowNotification

From Nomad DB
Revision as of 10:43, 29 April 2020 by Jan (talk | contribs) (Created page with "This shows an in-game notification. ==Syntax== <syntaxhighlight lang="lua"> ScriptHook.ShowNotification(text[, duration]) </syntaxhighlight> * '''text''' (String): Text to di...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This shows an in-game notification.

Syntax

ScriptHook.ShowNotification(text[, duration])
  • text (String): Text to display
  • Optional: duration (number) Duration in seconds how long the Notification is visible (Default: 5 seconds)

Related Pages