The way the discussion is going right now, I think it's safe to say that while the 5-car limit rule is staying in place, there will
not be scripted punishment for "breaking" it. A command to see how many cars a criminal has used might be a better idea, but it still won't be very logical since there will be ways around it (*cough* boats *cough*)
Also, being the nitpicky programmer I am:
Actually, the IDs are constant. This is pretty much how we're able to script vehicle access and ownership.
Well alternative can be used. Server can detect if cars are destroyed? On that event script would overwrite the cars ID in the array with something like "random(9000,9000000)". Then If person uses the car destroyed before, the script will treat the car as a new element in array.
It doesn't work like that. What event would be used in the script? Do we expect the script to make, like, 80 I/O calls just because a car exploded? That will lag the server really hard. Let's just leave this to the admins. Human error is better than scripted error, because unlike scripts, humans can easily adapt.
TL;DRDefinite no from me.