Integration
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()
Last updated