Garry's Mod Wiki

Revision Difference

Structures/VehicleParams#517024

<cat>struct</cat> <structure> <description>The structure used by <page>Vehicle:SetVehicleParams</page> and <page>Vehicle:GetVehicleParams</page>.</description> <fields>{{StructureField|number|wheelsPerAxle|Wheels per axle</fields>⤶ <fields>⤶ <item name="wheelsPerAxle" type="number">Wheels per axle</item>⤶ <item name="axleCount" type="number">Number of axles</item>⤶ <item name="axles" type="table">A table of <page>VehicleParamsAxle</page> tables.</item>⤶ <item name="body" type="table">See <page>VehicleParamsBody</page></item>⤶ <item name="engine" type="table">See <page>VehicleParamsEngine</page></item>⤶ <item name="steering" type="table">See <page>VehicleParamsSteering</page></item>⤶ </fields>⤶ </structure> {{StructureField|number|axleCount|Number of axles}}{{StructureField|table|axles|A table of <page>VehicleParamsAxle</page> tables.}}{{StructureField|table|body|See <page>VehicleParamsBody</page>}}{{StructureField|table|engine|See <page>VehicleParamsEngine</page>}}{{StructureField|table|steering|See <page>VehicleParamsSteering</page>}}⤶ }}