Garry's Mod Wiki

Vehicle:GetOperatingParams

Description

Returns some info about the vehicle.

Returns

1 table
The operating params. See Structures/OperatingParams.

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

Page Links


Special Pages


Wikis

?

Render Time: 23ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 6