Entities always created as Mission Entity


I am trying to figure out the whole networking, requesting control etc. I noticed that all the entities I create, are always Mission entities no matter if I use true/false as the last parameter:

TestCar = CreateVehicle(vehicleName, SpawnPos.x, SpawnPos.y, SpawnPos.z, Heading, true, false)
print("Mission Entity 1: "..tostring(IsEntityAMissionEntity(TestCar)))

The print always returns true, untill I set the entity as no longer needed (using SetEntityAsNoLongerNeeded).

Does anyone know why this happends?


Its not weather its mission entity or not, but if its pinned to this resource or not, which means if you stop the resource you created the vehicle with, it will set it to no longer needed.