Assigned Car Spawning mechanics

I am trying to make a Car dealership/Spawning area on my map for players. I want it to have a max of 4 cars on the map at a time to prevent it from eating away at the memory limit. However, once all the cares are dispensed I don’t want someone else to come up and attempt to spawn a car that someone is already driving or using. Is there a way to do this, I’ve seen this exact mechanic on the Prison Breakout Rp map and can’t figure out how they did it, any ideas?

1 Like

I haven’t personally used vehicles with verse in the past but assuming GetPassengers will also take the driver you could run an if condition on the cars spawned making sure that they have 1 or more passengers inside and preferably finding a way to sort the cars that are spawned in order from the ones spawned first to latest