Skip to main content

PedFaceXYZ

Description

Rotates the ped to face the specified X, Y, Z coordinates.

function PedFaceXYZ(ped, x, y, z) --[[ ... ]] end

Parameters

  • ped: integer - The ped to rotate.
  • x: number - X coordinate to face.
  • y: number - Y coordinate to face.
  • z: number - Z coordinate to face.

Return Values

None.

Example

None.