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

Commit

Permalink
Missed unit in CAD call
Browse files Browse the repository at this point in the history
  • Loading branch information
SonoranBrian authored Mar 17, 2024
1 parent 185c2cd commit 91c2006
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions sonorancad/core/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,12 @@ 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 @@ -5,7 +5,7 @@ RegisterNetEvent('SonoranCAD::core:TakeScreenshot', 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.28'
version '2.9.29'

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.28",
"resource" : "2.9.29",
"testedFxServerVersion": "5932"
}

0 comments on commit 91c2006

Please sign in to comment.