From 91c200615cb3c891ea1745e4ce8f889d7a8855b1 Mon Sep 17 00:00:00 2001 From: Brian Sosnowski <56844125+SonoranBrian@users.noreply.github.com> Date: Sat, 16 Mar 2024 23:24:03 -0700 Subject: [PATCH] Missed unit in CAD call --- sonorancad/core/client.lua | 2 -- sonorancad/core/screenshot.lua | 2 +- sonorancad/fxmanifest.lua | 2 +- sonorancad/version.json | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sonorancad/core/client.lua b/sonorancad/core/client.lua index 5f29172..f94efc4 100644 --- a/sonorancad/core/client.lua +++ b/sonorancad/core/client.lua @@ -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) diff --git a/sonorancad/core/screenshot.lua b/sonorancad/core/screenshot.lua index cdb9bd6..aaed6dc 100644 --- a/sonorancad/core/screenshot.lua +++ b/sonorancad/core/screenshot.lua @@ -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)) diff --git a/sonorancad/fxmanifest.lua b/sonorancad/fxmanifest.lua index 747695e..c3ceed1 100644 --- a/sonorancad/fxmanifest.lua +++ b/sonorancad/fxmanifest.lua @@ -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' diff --git a/sonorancad/version.json b/sonorancad/version.json index 65d983b..65f0f3c 100644 --- a/sonorancad/version.json +++ b/sonorancad/version.json @@ -1,4 +1,4 @@ { - "resource" : "2.9.28", + "resource" : "2.9.29", "testedFxServerVersion": "5932" }