Remove wrong code

This commit is contained in:
Jérémie N'gadi
2017-08-03 13:42:08 +02:00
parent 08fa16c750
commit afebc0e23e
@@ -313,9 +313,7 @@ ESX.Game.SpawnLocalVehicle = function(modelName, coords, heading, cb)
end
local vehicle = CreateVehicle(model, coords.x, coords.y, coords.z, heading, false, false)
local id = NetworkGetNetworkIdFromEntity(vehicle)
SetNetworkIdCanMigrate(id, true)
SetEntityAsMissionEntity(vehicle, true, false)
SetVehicleHasBeenOwnedByPlayer(vehicle, true)
SetModelAsNoLongerNeeded(model)