Difference between revisions of "ScriptHook.ShowNotification"
From Nomad DB
(Created page with "This shows an in-game notification. ==Syntax== <syntaxhighlight lang="lua"> ScriptHook.ShowNotification(text[, duration]) </syntaxhighlight> * '''text''' (String): Text to di...") |
(No difference)
|
Latest revision as of 10:43, 29 April 2020
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)