Notify

Custom notification system

Parameters description

ParameterTypeDescriptionDefault

playerId

integer

existing player server Id

----

description

string?

notification description

'Text'

type

string?

notification type

'info'

duration

number?

notification duration ( in msec )

2500

pos

string?

notification position

set by the config

sound

boolean?

enable sound

false

Available positions:

  • 'top-right'

  • 'center-right'

  • 'bottom-right'

  • 'frombelow-right'

  • 'top-left'

  • 'left-center'

  • 'frombelow-left'

Example

HRLib.Notify(1, 'Description')

HRLib.Notify(1, 'Description', 'info', 2500, 'left-center', true) -- Custom Use

Preview

Last updated