GetVehiclePoolSize

warning

This function was added in SA-MP 0.3.7 and will not work in earlier versions!

Description

Gets the highest vehicleid currently in use on the server.

Examples

RepairAllVehicles()
{
// vehicleids start at 1
for(new i = 1, j = GetVehiclePoolSize(); i <= j; i++)
{
RepairVehicle(i);
}
}

Related Functions