Remove unowned cars DarkRP

If anybody spawned a car from a cardealer and they leave it’s still there the car, i want it to get deleted when the owner of the car leaves, Anybody there can help?

  • Thanks.

Hook player disconnect and check all the entities on the map and see if any are owned by the player that left, if they are remove them.

Can you maybe make it for me?

The point of developer discussion is for you to get advice from other developers and make the stuff yourself, not a request section.