Vehicle/GetOperatingParams

From Garry's Mod
Revision as of 13:48, 11 September 2015 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Vehicle:GetOperatingParams( )

Contents

Description

Returns some info about the vehicle.

Returns

table

The operating params. See OperatingParams structure.

Examples

Example

Example output on a default Half-Life 2 Jeep.

PrintTable( Entity(1):GetVehicle():GetOperatingParams() )

Output:

RPM = 19.902961730957 gear = 0 isTorqueBoosting = false speed = -0.67361652851105 steeringAngle = 0 wheelsInContact = 4

Personal tools
Navigation