mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
Better support for RedM's RSG Core
Nothing public uses this yet, but its very similar to QBCore which makes it very for me to support Nothing special to note, just improves the integration for future ventures into RedM
This commit is contained in:
@@ -95,6 +95,8 @@ function toggleDuty()
|
||||
onDuty = not onDuty
|
||||
if isStarted(QBExport) or isStarted(QBXExport) then
|
||||
TriggerServerEvent("QBCore:ToggleDuty")
|
||||
elseif isStarted(RSGExport) then
|
||||
TriggerServerEvent("RSGCore:ToggleDuty")
|
||||
else
|
||||
if onDuty then
|
||||
triggerNotify(nil, "Now on duty", "success")
|
||||
|
||||
Reference in New Issue
Block a user