Server Exports

ShowNotification

exports.nx-notify:ShowNotification(source, data)

source: number player's ID

data: table

  • message: string the notification message

  • align?: string the notification alignment

  • title?: string the notification title

  • type?: string the notification type:

    • info (default)

    • success

    • error

    • warning

  • icon?: string FontAwesome arrow-up-righticon or https link

  • timeout?: number how many milliseconds the message shows up

For defaults value choose it in the Config


Success notification with title


Info notification with title and custom alignment


Last updated