Exports
Notify
Client

Client

Draws a notification on the local client. Other resources should call the server export so the notice reaches the right player.

Notify

Parameters

  • data table|string — a string is the description. A table is { title, description, kind, duration }.
  • kind is info, success, warning, or error. duration is milliseconds and defaults to 5000.

Returns

boolean — true when a notify provider is selected.

Example

Bridge.Notify({
    title = 'Shop',
    description = 'Not enough cash',
    kind = 'error',
    duration = 3000,
})
Join Our Discord