Vehicle Delete help

I am trying to create someting like ‘own vehicle’ in gta online. I want the original owner be possible to recall it at any moment and ofcourse delete old vehicle when calling new. But the problem is that it only works untill somebody else witll sit in the car. For example: Person spawned his car, he is trying to respawn it and the old vehicle deletes successfully BUT if somebody else will sit in OLD vehicle and exit it OLD vehicle will not be deleted and new ‘copy’ of this vehicle will be spawned. Is there are any ways to fix it?

That’s how I am deleting the vehicle.

  SetEntityAsMissionEntity(vehicle,  false,  true)
  DeleteVehicle(vehicle)

I also already tried SetEntityAsMissionEntity(vehicle, true, true).

Problem has been solved. The problem is that DeleteVehicle() doesn’t sync with all players sometimes. So I’ve done deleting vehicle with serverside.