Skip to main content

NotifyPlayer

Used to notify the player from the server side

Parameters

NameParameter
sourceThe source of the player
titleTitle of the notification
messageMessage of the notification
colorColor of the notification
iconIcon of the notification

Return Type

Void

Invoke

local framework = exports["ssdev_framework"]:GetFramework()
framework:NotifyPlayer(source, title, message, color, icon)

Example

local framework = exports["ssdev_framework"]:GetFramework()
framework:NotifyPlayer(1, "Title", "Message", "red", "fa fas-award")
Bare in mind

The additional parameters may not be used depending on your framework.