Yeva
StoreDiscord
  • 📌Paid Resources
    • 🔘Police Impound
      • Installation
      • Configuration
    • 🔘Shops
      • Installation
      • Configuration
    • 🔘Plant Farming
      • Installation
      • Configuration
    • 🔘Distress Call
      • Installation & Config
      • Integration
    • 🔘Death Screen
      • Installation & Config
      • Integration
Powered by GitBook
On this page
  1. 📌Paid Resources
  2. 🔘Distress Call

Integration

PreviousInstallation & ConfigNextDeath Screen

Last updated 11 months ago

CtrlK
  • Exports
  • Example

Exports

"Flag" here is used to identify signals that are received as either death signals or call signals. You can use flag = 0 to send a death call and flag = 1 for a call message

Example

--- send alert
local text = 'Someone Injured'
local flag = 0
exports['yeva_distresscall']:SendDistressAlert(text, flag)
-- send signal
local text = 'Someone Injured'
local flag = 1
exports['yeva_distresscall']:SendDistressAlert(text, flag)
-- open menu
exports['yeva_distresscall']:OpenDistressMenu(true)
-- open form
exports['yeva_distresscall']:OpenDistressForm()