SetVehicleComponentRotation
From Multi Theft Auto: Wiki
FROM VERSION 1.3.1 r4715 ONWARDS
This function set component rotation for vehicle.
Syntax
Required Arguments
- theVehicle: The vehicle you wish to set component rotation.
- theComponent: A vehicle component (this is the frame name from the model file of the component you wish to modify)
- rotX: The component's rotation around the x axis in degrees.
- rotY: The component's rotation around the y axis in degrees.
- rotZ: The component's rotation around the z axis in degrees.
Returns
Return true if component rotation was set successfully, false otherwise.
Example
TODO
--TODOSee Also
- addVehicleUpgrade
- attachTrailerToVehicle
- blowVehicle
- createVehicle
- detachTrailerFromVehicle
- fixVehicle
- getVehicleAdjustableProperty
- getVehicleColor
- getVehicleCompatibleUpgrades
- getVehicleController
- getVehicleDoorState
- getVehicleEngineState
- getVehicleLandingGearDown
- getVehicleLightState
- getVehicleMaxPassengers
- getVehicleName
- getVehicleOccupant
- getVehicleOccupants
- getVehicleCurrentGear
- getVehicleOverrideLights
- getVehiclePaintjob
- getVehiclePanelState
- getVehiclePlateText
- getVehicleSirensOn
- getVehicleTowedByVehicle
- getVehicleTowingVehicle
- getVehicleTurnVelocity
- getVehicleTurretPosition
- getVehicleUpgradeOnSlot
- getVehicleUpgrades
- getVehicleUpgradeSlotName
- getVehicleWheelStates
- getVehicleDoorOpenRatio
- getVehicleHandling
- getOriginalHandling
- isVehicleDamageProof
- isVehicleFuelTankExplodable
- isVehicleLocked
- isVehicleOnGround
- removeVehicleUpgrade
- setVehicleAdjustableProperty
- setVehicleColor
- setVehicleDamageProof
- setVehicleDirtLevel
- setVehicleDoorState
- setVehicleDoorsUndamageable
- setVehicleEngineState
- setVehicleFuelTankExplodable
- setVehicleLandingGearDown
- setVehicleLightState
- setVehicleLocked
- setVehicleOverrideLights
- setVehiclePaintjob
- setVehiclePanelState
- setVehicleSirensOn
- setVehicleTurretPosition
- setVehicleDoorOpenRatio
- setVehicleTurnVelocity
- setVehicleWheelStates
- getHelicopterRotorSpeed
- getTrainDirection
- getTrainSpeed
- getVehicleGravity
- getVehicleHeadLightColor
- getVehicleModelFromName
- getVehicleNameFromModel
- getVehicleType
- isTrainDerailable
- isTrainDerailed
- isVehicleBlown
- isVehicleTaxiLightOn
- setHelicopterRotorSpeed
- setTrainDerailable
- setTrainDerailed
- setTrainDirection
- setTrainSpeed
- setVehicleGravity
- setVehicleHeadLightColor
- setVehicleTaxiLightOn
- getVehicleVariant
- getVehicleSirenParams
- getVehicleSirens
- setVehicleSirens