Vehicle:GetHLSpeed

From Garry's Mod
Jump to: navigation, search
 Vehicle:GetHLSpeed( )

Description

Returns the current speed of the vehicle in Half-Life Hammer Units (in/s). Same as Entity:GetVelocity + Vector:Length.

Returns

number

The speed of the vehicle
Personal tools
Navigation