#1

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?
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)