Skip to main content

Notify

TriggerEvent Syntax
TriggerServerEvent("viority_lifeinvadernotify:server:LifeInvaderNotify", NotifyID, NotifyAnonymous, NotifyName, NotifyPhone, NotifyMessage, NotifyDuration)

PARAMETER

  1. NotifyID (STRING) -> Such an ID e.g. 02
  2. NotifyAnonymous (BOOL) -> Is it anonymous?
  3. NotifyName (STRING) -> The Player Name e.g. "Alessio Martini"
  4. NotifyPhone (STRING) -> The Player Phone number e.g. 234 567
  5. NotifyMessage (STRING) -> The Advertisement Text e.g. "I sell XY at XY"
  6. NotifyDuration (INT) -> Duration in ms e.g. 5000 for 5 seconds
Examples
-- Example for CLIENTSIDE!
TriggerServerEvent("viority_lifeinvadernotify:server:LifeInvaderNotify", "02", false, "Alessio Martini", "187361", "Test Message", 15000)

-- Example for SERVERSIDE!
TriggerClientEvent("viority_lifeinvadernotify:client:LifeInvaderNotify", -1, "02", false, "Alessio Martini", "187361", "Test Message", 15000)