AddScenarioBlockingArea
Docslocal retval = AddScenarioBlockingArea(posMinX, posMinY, posMinZ, posMaxX, posMaxY, posMaxZ, network, cancelActive, blockPeds, blockVehicles)Description
Sets an area where scenarios are blocked
Parameters
| Name | Type | Description |
|---|---|---|
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 |
Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
intReturns an integer value.