Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Remove in-CAD requirement for bodycam toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
SonoranBrian authored Mar 17, 2024
1 parent 9c95306 commit 185c2cd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions sonorancad/core/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,14 @@ RegisterNetEvent('SonoranCAD::core::ScreenshotOff', function()
type = 'toggleGif'
})
end
--[[
TriggerEvent('chat:addMessage', {
args = {
'Sonoran Bodycam',
'Bodycam disabled - You must be in CAD to enable bodycam'
}
})
]]
end
end)

Expand Down
2 changes: 1 addition & 1 deletion sonorancad/core/screenshot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RegisterNetEvent('SonoranCAD::core::bodyCamOff', function()
local unit = GetUnitByPlayerId(source)
if unit == nil then
debugLog('Unit not found')
TriggerClientEvent('SonoranCAD::core::ScreenshotOff', source)
-- TriggerClientEvent('SonoranCAD::core::ScreenshotOff', source)
return
end
local screenshotDirectory = exports['sonorancad']:createScreenshotDirectory(tostring(unit.id))
Expand Down
2 changes: 1 addition & 1 deletion sonorancad/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ games {'gta5'}

author 'Sonoran CAD'
description 'Sonoran CAD FiveM Integration'
version '2.9.27'
version '2.9.28'

server_scripts {
'core/http.js'
Expand Down
2 changes: 1 addition & 1 deletion sonorancad/version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"resource" : "2.9.27",
"resource" : "2.9.28",
"testedFxServerVersion": "5932"
}

0 comments on commit 185c2cd

Please sign in to comment.