Vehicles ID's start at 0, and progress upwards. However deleteing vehicle 56, and then creating another will fill slot 56 as it no longer has a vehicle assigned to it.
If your asking this because you need to know the ID of a certain vehicle, or set of vehicles assign the ID(s) to a variable or an array.
For one vehicle.
pawn Код:
new Vehicle; Vehicle = CreateVehicle(...);
For multiple
pawn Код:
new Vehicles[10]; Vehicle[0]= CreateVehicle(...); Vehicle[1]= CreateVehicle(...);
The above array can go upto 9, as it holds 10 placements. Including 0, just alter the value to suit your needs.