Viority Development
DiscordShop
  • 🏠Home
    • Welcome
    • FAQ
    • Common issues
  • Tutorials
    • βš™οΈProduct
      • How to get the Security Token?
      • How to create new locales?
      • getSharedObject Deprecated
  • 🀝Support
    • Support Policy
    • πŸ‡ΊπŸ‡ΈTicket Rules (EN)
    • πŸ‡©πŸ‡ͺTicket Rules (GER)
  • Products
    • πŸ”’Viority Script Lock
      • How to use
      • JavaScript example
      • Lua example
    • πŸ“‹Viority Advanced Menu
      • πŸ‘€Config Preview
      • Event Command
      • NotifyBoard
      • OpenMenu Event
      • CloseMenu Event
      • UpdateChallengeProgress
      • UpdateAchievementProgress
      • CheckAchievementProgress
      • CheckCurrentLevel
    • 🚘Viority Garage V2
      • πŸ‘€Config Preview
      • OpenGarage Event
      • CloseGarage Event
      • VehicleParkIn
      • VehicleParkIn DV
    • πŸš—Viority Cardealer
      • πŸ‘€Config Preview
      • Vehicle Color Fix
      • OpenCardealer Event
      • CloseCardealer Event
      • UpdateLeasingStatus
      • CheckPlate
      • CheckPlateBlacklist
      • GeneratePlate
    • β›½Viority Gasoline
      • πŸ‘€Config Preview
      • OpenGasoline Event
      • CloseGasoline Event
      • RefillFuelStock
      • GetFuel
      • SetFuel
    • πŸ’³Viority Billingmenu
      • πŸ‘€Config Preview
      • OpenBillingMenu Event
      • CloseBillingMenu Event
    • πŸ’Viority Marry
      • Page
      • πŸ‘€Config Preview
      • StartAnimation Event
      • StopAnimation Event
    • πŸ“ŠViority HUD
      • πŸ‘€Config Preview
        • PMA-Voice Example
        • Saltychat Example
      • Announce Command
      • TriggerNotifySystem
      • UpdateWantedStars
      • UpdateTransactionData
      • UpdateCurrentMission
      • GetWantedStars
    • πŸ•Viority Playtime Rewards
      • πŸ‘€Config Preview
      • ClosePlaytimeReward
      • OpenPlaytimeReward
      • CheckCurrentLevel
    • 🀝Viority Interaction
      • πŸ‘€Config Preview
      • ESX Interaction Integration
      • How to use
    • πŸ†”Viority SupportID
      • πŸ‘€Config Preview
      • getNearestPlayerID
      • getPlayerID
    • πŸ“Viority Register
      • πŸ‘€Config Preview
      • getAllPromocodes
      • getPlayerPromocode
    • 🏒Viority Fraction Request
      • πŸ‘€Config Preview
    • 🌐Viority LifeInvader
      • πŸ‘€Config Preview
    • πŸ””Viority LifeInvader Notify
      • πŸ‘€Config Preview
      • Notify
    • πŸͺ™Viority Trading
      • πŸ‘€Config Preview
      • OpenTradingMenu Event
      • CloseTradingMenu Event
  • πŸ“ŒDiscord Server
Powered by GitBook
On this page
  1. Products
  2. Viority LifeInvader Notify

Notify

πŸ”§ Available since Version 1.0.0!

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)
PreviousConfig PreviewNextViority Trading

Last updated 1 year ago

πŸ””