Garry's Mod Wiki

Revision Difference

Structures/OperatingParams#517016

<cat>struct</cat> <structure> <description>The structure used by <page>Vehicle:GetOperatingParams</page>.</description> <fields>{{StructureField|number|RPM|The current RPM of the vehicle</fields>⤶ <fields>⤶ <item name="RPM" type="number">The current RPM of the vehicle</item>⤶ <item name="gear" type="number">The current gear of the vehicle, starting from 0</item>⤶ <item name="isTorqueBoosting" type="boolean">Is the vehicle boosting?</item>⤶ <item name="speed" type="number">The current speed, in inches per second</item>⤶ <item name="steeringAngle" type="number">Steering angle</item>⤶ <item name="wheelsInContact" type="number">Wheels on ground</item>⤶ </fields>⤶ </structure> {{StructureField|number|gear|The current gear of the vehicle, starting from 0}}{{StructureField|boolean|isTorqueBoosting|Is the vehicle boosting?}}{{StructureField|number|speed|The current speed, in inches per second}}{{StructureField|number|steeringAngle|Steering angle}}{{StructureField|number|wheelsInContact|Wheels on ground}}⤶ }}