Wiki

Clone wiki

EFLC-MP LUA / getVehicleRotation

Description

Gets the vehicle rotation

Parameters

Int vehicleId
Int vehicleId: ID of the vehicle

Return values

Float pitch, Float roll, Float yaw

Example

local pitch, roll, yaw = getVehicleRotation(vehicleId)

Updated