Skip to content

ax.notification

Source: gamemode/framework/libraries/sh_notification.lua

Half-Life Alyx style notifications displayed above all VGUI.

Documented functions: 6

Functions


ax.notification:Add(text, type, length)

Add a new notification to the queue.

Realm: client


ax.notification:Clear()

Clear all queued and active notifications.

Realm: shared


ax.notification:Layout()

Recompute stacked y-offset targets for active toasts.

Realm: shared


ax.notification:Next()

Promote queued items into active list respecting maxVisible.

Realm: shared


ax.notification:Send(target, text, type, length)

Send a notification to one or more players.

Realm: server


ax.notification:Show(data)

Create and animate a toast into view.

Realm: shared