Skip to main content

TASK_AIM_GUN_AT_COORD

Game.TaskAimGunAtCoordHash0x0AA202B0
Usage
Game.TaskAimGunAtCoord(charIndex, x, y, z, duration)

Tells the ped to aim a gun at the coord.

Parameters

  • charIndexintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • durationintegerint

Returns

Nothing

Original declaration
// 0x0AA202B0
void TASK_AIM_GUN_AT_COORD(int charIndex, float x, float y, float z, int duration);