Skip to main content

Ped::setPedNonCreationArea

The distance between these points, is the diagonal of a box (remember it's 3D).

Syntax​

mp.game.ped.setPedNonCreationArea(x1, y1, z1, x2, y2, z2);

Required Arguments​

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float

Return value​

  • Undefined

Example​

// todo