13.05.2012, 18:52
i should have explained it like
say you create 4 cars
car1 = id 1
car2 = id 2
car3 = id 3
car4 = id 4
and then you delete car3
now you create another car
its id will = 3 not 5.
thats the first free slot between 1 & MAX_VEHICLES
say you create 4 cars
car1 = id 1
car2 = id 2
car3 = id 3
car4 = id 4
and then you delete car3
now you create another car
its id will = 3 not 5.
thats the first free slot between 1 & MAX_VEHICLES