Skip to main content

GET_CUTSCENE_PED_POSITION

Game.GetCutscenePedPositionHash0x366B549F
Usage
local positionX, positionY, positionZ = Game.GetCutscenePedPosition(charIndex)

Gets the position in world space of the cutscene ped.

Parameters

  • charIndexintegerint

Returns

  • positionXnumberVector3*
  • positionYnumberVector3*
  • positionZnumberVector3*
Original declaration
// 0x366B549F
void GET_CUTSCENE_PED_POSITION(int charIndex, Vector3* position);