Native referenceFiveM

ADD_SCENARIO_BLOCKING_AREA

0x1B5C85C612E5256E PED
FUNCTION SIGNATURE
int ADD_SCENARIO_BLOCKING_AREA(float posMinX, float posMinY, float posMinZ, float posMaxX, float posMaxY, float posMaxZ, BOOL network, BOOL cancelActive, BOOL blockPeds, BOOL blockVehicles);
Property Value
Native Name ADD_SCENARIO_BLOCKING_AREA
Hash 0x1B5C85C612E5256E
Return Type int
Parameters posMinX (float), posMinY (float), posMinZ (float), posMaxX (float), posMaxY (float), posMaxZ (float), network (BOOL), cancelActive (BOOL), blockPeds (BOOL), blockVehicles (BOOL)

Description: Sets an area where scenarios are blocked

Parameters

  • posMinX (float) — Min X Coordinate.
  • posMinY (float) — Min Y Coordinate.
  • posMinZ (float) — Min Z Coordinate.
  • posMaxX (float) — Max X Coordinate.
  • posMaxY (float) — Max Y Coordinate.
  • posMaxZ (float) — Max Z Coordinate.
  • network (BOOL) — Optionally networked to all other players
  • cancelActive (BOOL) — Should this cause peds already in active scenario points in the area specified to leave
  • blockPeds (BOOL) — if this area effects scenarios with peds
  • blockVehicles (BOOL) — if this area effects scenarios with vehicles
Back to PED