Vehicle:GetOperatingParams

From Garry's Mod
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