It depends on what the code is doing.
You're right, IDK what I was thinking.
Imagine if the code was a constant loop getting the position of every vehicle every tick on the server and then updating the vehicle according to the position. That could cause problems with 10+ vehicles...