GetVehicleDoorLocation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get the specified door enter location of the vehicle. This is where the player has to stand in order to enter 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 coordinates.}} | ||
== Example == | == Example == |
Latest revision as of 17:44, 27 August 2020
Description
Get the specified door enter location of the vehicle. This is where the player has to stand in order to enter 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 coordinates.
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