diff --git a/client/carjack.lua b/client/carjack.lua index 10f5063..5ceaf35 100644 --- a/client/carjack.lua +++ b/client/carjack.lua @@ -100,7 +100,7 @@ local function carjackVehicle(driver, vehicle) end TriggerServerEvent('hud:server:GainStress', math.random(1, 4)) Wait(2000) - SendPoliceAlertAttempt('carjack') + SendPoliceAlertAttempt('carjack', vehicle) end else makePedFlee(driver) diff --git a/client/searchkeys.lua b/client/searchkeys.lua index 6b5cacc..9d94f08 100644 --- a/client/searchkeys.lua +++ b/client/searchkeys.lua @@ -78,7 +78,7 @@ local searchKeysKeybind = lib.addKeybind({ if not GetIsVehicleAccessible(vehicle) then isFound = findKeys(GetEntityModel(vehicle), GetVehicleClass(vehicle), vehicle) SetTimeout(10000, function() - SendPoliceAlertAttempt('steal') + SendPoliceAlertAttempt('steal', vehicle) end) end Wait(config.timeBetweenHotwires)