Yeah it was something like that, based on the plate number.
Mexico City does have a system like that, but it's based on the last digit of the plate number, and according to a day of the week, certain cars can't be driving around. However, if the car you own is a '93 model, it can be sent to a check-up and then you can drive any day of the week.