notification.AddLegacy
Description
Adds a standard notification to your screen.
Arguments
2 number type
Determines the notification method (e.g. icon) for displaying the notification. See the NOTIFY enum.
Example
Adds a prop undo notification to the screen, like in Sandbox.
Output: Adds a notice that says 
Undone Prop, plays the undo sound, and adds a message to the console.

Garry's Mod
Rust
Steamworks
Wiki Help