netId is already not needed

This commit is contained in:
TheFantomas
2023-02-21 18:51:46 +01:00
committed by GitHub
parent df21f8a4cc
commit ddd86526f2
-1
View File
@@ -74,7 +74,6 @@ 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