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:
Jim Shield committed 2025-05-01 17:49:37 +01:00
1 parent 65c9c6c586
commit b81ada265b
8 files changed
+132 -28

No files matched your search

+2
View File
@@ -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")