Skip to content

SlliX/MTA-vehicle-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

[MTA] Vehicle Sizes

How to use this resource:

getVehicleSize(vehicleID)
returns the vehicle size in unit³
getBiggerVehicle(vehicleID1, vehicleID2)
returns the vehicle ID of the bigger vehicle
getSmallerVehicle(vehicleID1, vehicleID2)
returns the vehicle ID of the smaller vehicle
getBiggestVehicleFromRange(vehicleID1, vehicleID2)
returns the vehicle ID of the biggest vehicle in a certain range of vehicles
getBiggestVehicleFromTable(tbl)
returns the vehicle ID of the biggest vehicle of individual vehicle IDs
requires a table input of vehicle IDs like this: {415, 500, 489, ...} 
getSmallestVehicleFromRange(vehicleID1, vehicleID2)
returns the vehicle ID of the smallest vehicle in a certain range of vehicles
getSmallestVehicleFromTable(tbl)
returns the vehicle ID of the smallest vehicle of individual vehicle IDs
requires a table input of vehicle IDs like this: {415, 500, 489, ...} 
sortVehicleSizesFromRange(vehicleID1, vehicleID2)
returns a sorted table (smallest to biggest) from a certain range of vehicles
the table includes the vehicleIDs and the vehicleSizes, e.g. {vehicleID, vehicleSize} or {400, 22.08}
sortVehicleSizesFromTable(tbl)
returns a sorted table (smallest to biggest) from individual vehicle IDs
requires a table like this: {415, 500, 489, ...} 
the table includes the vehicleIDs and the vehicleSizes, e.g. {vehicleID, vehicleSize} or {400, 22.08}

About

resource to utilize vehicle sizes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages