GetVehicleDoorLocation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get the specified door's location of the vehicle.}} | ||
{{FuncSyntax|GetVehicleDoorLocation(vehicle, door)}} | {{FuncSyntax|GetVehicleDoorLocation(vehicle, door)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|vehicle| | {{FuncParam|vehicle|The vehicle identifier}} | ||
{{FuncParam|door| | {{FuncParam|door|The vehicle door (1 is driver (top-left), 2 is top-right, 3 is bottom-left, and 4 is bottom-right.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns the XYZ vectors.}} | ||
== Example == | == Example == |
Revision as of 06:39, 27 February 2020
Description
Get the specified door's location of the vehicle.
Syntax
GetVehicleDoorLocation(vehicle, door)
Parameters
- vehicle
The vehicle identifier - door
The vehicle door (1 is driver (top-left), 2 is top-right, 3 is bottom-left, and 4 is bottom-right.
Return Value
- This function returns the XYZ vectors.
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