Trigger-/Exports-/ Functions

Notification Types:

  • police

  • medic

  • error

  • success

  • info

  • teamchat

Triggers:

Notify:

client examples:

TriggerEvent('b-notify:notify', 'success', 'SUCCESS', 'You have enough Money')
TriggerEvent('b-notify:notify', 'error', 'ERROR', 'You don't have enough money')
TriggerEvent('b-notify:notify', 'info', 'INFO', 'You received a SMS from Skurllex')
TriggerEvent('b-notify:notify', 'teamchat', 'TEAMCHAT', 'Please check the Player ID 8', 'Bvrtck')
TriggerEvent('b-notify:notify', 'police', 'POLICE', 'PoliceDepartment called')
TriggerEvent('b-notify:notify', 'medic', 'MEDIC', 'Medical Department called')

server examples:

Parameters:

Parameter
Type
Example

type

string

"success"

title

string

"INFO"

message

string

"TEST"

playername (only teamchat type)

string

"Skurllex#0911@Bvrtck#0911"

Lifeinvader Notify:

client example:

server example:

Parameters:

Parameter
Type
Example

title

string

"LIFEINVADER"

message

string

"MADE BY B-DEV"

playername

string

"BVRTCK"

number (phone number)

string

"722-333"

control

string

"E"

Snippet:

Teamchat

Snippet

Last updated

Was this helpful?