Server
Notify
Function to send notification to a player with HRLib's notification system
function HRLib.Notify(
    playerId: integer,
    description: string,
    type: 'success'|'error'|'info'|'warning',
    duration: number?,
    pos: 'top-right'|'center-right'|'bottom-right'|'frombelow-right'|
    'top-left'|'left-center'|'frombelow-left'?,
    sound: boolean?
)Parameters description
- playerId - the player Id to use when sending the notification 
- description - the notification's content 
- type - the notification type (default is 'info') 
- duration - the notification duration (default is 2500, in msec) 
- pos - the notification position on the screen (default is found in HRLib's config) 
- sound - sets whether or not the notification sound should be played (default is true) 
Preview

Last updated
