GetVehicleBoneLocation

From Onset Developer Wiki
GetVehicleBoneLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Returns the location of a vehicle bone/socket. For a list of bones see VehicleBones.

Syntax

GetVehicleBoneLocation(vehicle, BoneName [, BoneSpace])

Parameters

  • vehicle
    The vehicle identifier.
  • BoneName
    The bone name as string. VehicleBones
  • BoneSpace (optional)
    1 for WorldSpace, 2 for LocalSpace.

Return Value

  • Returns the location X, Y, Z.

Example

__EDIT_ME__

See also

__EDIT_ME__