Notify

HRLib.Notify but focused onto a player

Parameters description

ParameterTypeDescriptionDefault

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

FPlayer:Notify('Description')

FPlayer:Notify('Description', 'info', 2500, 'left-center', true) -- Custom Use

Preview

Last updated