From d3183773772ae029ba530a06ddc51b4fb74568e6 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 19 Feb 2023 15:38:26 +0100 Subject: [PATCH] fix( es_extended/server/onesync) Fix broken vehicleProperties --- [core]/es_extended/server/onesync.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/[core]/es_extended/server/onesync.lua b/[core]/es_extended/server/onesync.lua index f43acdd71..168a7beee 100644 --- a/[core]/es_extended/server/onesync.lua +++ b/[core]/es_extended/server/onesync.lua @@ -74,6 +74,7 @@ function ESX.OneSync.SpawnVehicle(model, coords, heading, properties, cb) end local networkId = NetworkGetNetworkIdFromEntity(createdVehicle) + vehicleProperties.NetId = networkId Entity(createdVehicle).state:set('VehicleProperties', vehicleProperties, true) cb(networkId) else