Garry's Mod Wiki

Vehicle:GetOperatingParams

table 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: 46ms

DB GetPage 7
Generate Html 3
SaveChanges (1) 21
Render Body 0
Render Sidebar 13