View Full Version : Slots

18/04/2017, 09:26 AM
so I'm trying to work on a car system that u reset your car and I want it to got the nearest pd but the problem is all the cars spawning above each other is there a way to do so if this slot have car and the other doesn't the car spawn in the other?

18/04/2017, 09:46 AM
Start a loop trough all vehicles and check if any vehicle is near to the position of slot one. If so, spawn the car in slot 2. If one is in slot 2 but not slot 1, spawn in slot 1. etc etc