Skip to content

ShowNotification

The game’s short notification at the top of the screen.

The one-line toast the game shows for “Game saved” and the like - short, in the game’s look, gone by itself. For a longer or a placed line use ShowInfoText; for a title with a line under it, ShowObjectiveEvent.

ShowNotification(pid, text)
Parameter Type
pid number the player
text string the line, kept short

boolean - false when not connected

ShowNotification(pid, "Welcome back, " .. GetPlayerName(pid))

ShowNotificationForAll · ShowInfoText · ShowGameLog · the GameText and HUD group of the index