Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #175 from Djamuras/master
Browse files Browse the repository at this point in the history
Fix for vehicle delete
  • Loading branch information
HumanTree92 authored Aug 24, 2020
2 parents 5792359 + ae8bcf8 commit 029b4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ function StoreVehicle(vehicle, vehicleProps)
end
end

ESX.Game.DeleteVehicle(vehicle)
DeleteEntity(vehicle)
TriggerServerEvent('esx_advancedgarage:setVehicleState', vehicleProps.plate, true)
ESX.ShowNotification(_U('vehicle_in_garage'))
end
Expand Down

0 comments on commit 029b4ad

Please sign in to comment.