addDispatchSpawnSphereBlockingArea
ADD_DISPATCH_SPAWN_SPHERE_BLOCKING_AREA0x2D4259F1FEB81DA9The GTA V native ADD_DISPATCH_SPAWN_SPHERE_BLOCKING_AREA of the MISC namespace, as LS:MP client scripts call it: the global function addDispatchSpawnSphereBlockingArea, in JavaScript and in Lua.
addDispatchSpawnSphereBlockingArea(
x1: number,
y1: number,
x2: number,
y2: number
): numberaddDispatchSpawnSphereBlockingArea(
x1: number,
y1: number,
x2: number,
y2: number
): integerUsage
JavaScript
const result = addDispatchSpawnSphereBlockingArea(x1, y1, x2, y2);Lua
local result = addDispatchSpawnSphereBlockingArea(x1, y1, x2, y2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x1 | float | number | number |
y1 | float | number | number |
x2 | float | number | number |
y2 | float | number | number |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Misc MISC
- In the game
int ADD_DISPATCH_SPAWN_SPHERE_BLOCKING_AREA(float x1, float y1, float x2, float y2)- Hash
0x2D4259F1FEB81DA9- Formerly
_ADD_DISPATCH_SPAWN_BLOCKING_AREA