NPC vehicle


#1

Hi,

Can we prevent the disappearance of a NPC vehicle?


#2

I’m on my phone right now but try to look for something along the lines of setmission entity or something like that.


#3

I already tried

SetVehicleOnGroundProperly(veh)
SetVehicleHasBeenOwnedByPlayer(veh,true)
local id = NetworkGetNetworkIdFromEntity(veh)
SetNetworkIdCanMigrate(id, true)
SetEntityAsMissionEntity(veh, true, true)