Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove force off duty
Browse files Browse the repository at this point in the history
solareon committed Nov 30, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent ffd27c7 commit cea9948
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/main.lua
Original file line number Diff line number Diff line change
@@ -109,9 +109,6 @@ end)
RegisterNetEvent('qbx_medical:server:onPlayerLaststand', function(text)
if GetInvokingResource() then return end
local src = source
local player = exports.qbx_core:GetPlayer(src)
player.Functions.SetJobDuty(false)
TriggerClientEvent('QBCore:Client:SetDuty', src, player.PlayerData.job.onduty)
alertAmbulance(src, text)
end)

0 comments on commit cea9948

Please sign in to comment.