Documentation
›
API Reference
›
Object
›
Vehicle
CountTires
Lua
C++
This command returns the vehicle's number of tires.
Syntax
int
CountTires
()
Returns
Returns the number of tires the vehicle has. Tires are indexed from zero to CountTires() minus one.