From 3d6a0eb0cfcee6a9fd2674107a3bfe0de8d74cff Mon Sep 17 00:00:00 2001 From: LeZach <48424078+zf-development@users.noreply.github.com> Date: Mon, 15 Jan 2024 14:32:03 -0500 Subject: [PATCH] Update alerts.lua Fix an issue where the data are not get when the vehicle argument is passed directly through the exports. --- client/alerts.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/alerts.lua b/client/alerts.lua index 87e874b6..22648076 100644 --- a/client/alerts.lua +++ b/client/alerts.lua @@ -745,7 +745,7 @@ exports('UnionRobbery', UnionRobbery) local function CarBoosting(vehicle) local coords = GetEntityCoords(cache.ped) - local vehicle = GetVehicleData(cache.vehicle) + local vehicle = GetVehicleData(vehicle or cache.vehicle) local dispatchData = { message = locale('carboosting'),