Native referenceFiveM

CLEAR_AREA_OF_PEDS

0xBE31FD6CE464AC59 MISC
FUNCTION SIGNATURE
void CLEAR_AREA_OF_PEDS(float x, float y, float z, float radius, BOOL createNetEvent);
Property Value
Native Name CLEAR_AREA_OF_PEDS
Hash 0xBE31FD6CE464AC59
Return Type void
Parameters x (float), y (float), z (float), radius (float), createNetEvent (BOOL)

Description: Clears an area of peds at the given coordinates and radius.

Parameters

  • x (float) — The x coordinate of where to clear peds.
  • y (float) — The y coordinate of where to clear peds.
  • z (float) — The z coordinate of where to clear peds.
  • radius (float) — The area radius to clear peds.
  • createNetEvent (BOOL) — specifies whether a CClearAreaEvent event of should be created for online use.

Examples

-- Clear the area, do also create an event
ClearAreaOfPeds(0.0, 0.0, 0.0, 10000.0, true)
Back to MISC