MenuMessage

Allows for the creation of persistent menu messages similar in style to CS:GO's menu notifications

Functions

impulse.MenuMessage.Add(uid, title, message, col, url, urlText, expiry)

View source »

Creates a new MenuMessage and displays it

Parameters

  • message string

    Message content

  • col color optional

    The message colour

  • url string optional

    The URL to open if pressed

  • urlText string optional

    The text of the URL button

  • expiry int optional

    UNIX time until when this message will automatically expire

impulse.MenuMessage.CanSee(uid)

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Returns if a MenuMessage can be seen

Parameters

impulse.MenuMessage.Remove(uid)

View source »

Removes an active MenuMessage

Parameters

impulse.MenuMessage.Save(uid)

View source »

Saves the specified MenuMessage to file so it persists

Parameters