Hi,
Can we prevent the disappearance of a NPC vehicle?
Hi,
Can we prevent the disappearance of a NPC vehicle?
I’m on my phone right now but try to look for something along the lines of setmission entity or something like that.
I already tried
SetVehicleOnGroundProperly(veh)
SetVehicleHasBeenOwnedByPlayer(veh,true)
local id = NetworkGetNetworkIdFromEntity(veh)
SetNetworkIdCanMigrate(id, true)
SetEntityAsMissionEntity(veh, true, true)