If you're using VMS Tuning, you don't need to make the following changes - use our prepared Vehicle Properties.
Enter the appropriate vehicle deformation saving in your Vehicle Properties inside the framework:
es_extended/client/functions.lua - ESX.Game.SetVehicleProperties
es_extended/client/functions.lua
ESX.Game.SetVehicleProperties
qb-core/client/functions.lua - QBCore.Functions.SetVehicleProperties
qb-core/client/functions.lua
QBCore.Functions.SetVehicleProperties
qbx_core/bridge/qb/client/functions.lua - functions.GetVehicleProperties
qbx_core/bridge/qb/client/functions.lua
functions.GetVehicleProperties
ox_lib/resource/vehicleProperties/client.lua - lib.getVehicleProperties
ox_lib/resource/vehicleProperties/client.lua
lib.getVehicleProperties
Last updated 7 months ago
local deformation = nil if GetResourceState('VehicleDeformation') == 'started' then deformation = exports['VehicleDeformation']:GetVehicleDeformation(vehicle) end
deformation = deformation,