SetVehicleRotation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|vehicle|The vehicle | {{FuncParam|vehicle|The vehicle identifier}} | ||
{{FuncParam|x|The X axis}} | {{FuncParam|x|The X axis}} | ||
{{FuncParam|y|The Y axis}} | {{FuncParam|y|The Y axis}} |
Revision as of 10:23, 7 January 2020
Description
Sets the vehicle rotation.
Syntax
SetVehicleRotation(vehicle, x, y, z)
Parameters
- vehicle
The vehicle identifier - x
The X axis - y
The Y axis - z
The Z axis
Return Value
- __EDIT_ME__
Example
__EDIT_ME__
See also
- CreateVehicle
- DestroyVehicle
- IsValidVehicle
- GetVehicleCount
- GetAllVehicles
- GetVehicleModel
- GetVehicleModelName
- SetVehicleRespawnParams
- IsVehicleStreamedIn
- GetStreamedVehiclesForPlayer
- GetStreamedVehicles
- SetVehicleLocation
- GetVehicleLocation
- SetVehicleRotation
- GetVehicleRotation
- SetVehicleHeading
- GetVehicleHeading
- SetVehicleHealth
- GetVehicleHealth
- SetVehicleLicensePlate
- GetVehicleVelocity
- GetVehicleDriver
- GetVehiclePassenger
- GetVehicleNumberOfSeats
- SetVehicleColor
- GetVehicleColor
- SetVehicleLinearVelocity
- SetVehicleAngularVelocity
- GetVehicleGear
- SetVehicleHoodRatio
- GetVehicleHoodRatio
- SetVehicleTrunkRatio
- GetVehicleTrunkRatio
- StartVehicleEngine
- StopVehicleEngine
- GetVehicleEngineState
- SetVehicleLightEnabled
- GetVehicleLightState
- SetVehicleDamage
- GetVehicleDamage
- AttachVehicleNitro