hasBulletImpactedInBox
HAS_BULLET_IMPACTED_IN_BOX0xDC8C5D7CFEAB8394The GTA V native HAS_BULLET_IMPACTED_IN_BOX of the MISC namespace, as LS:MP client scripts call it: the global function hasBulletImpactedInBox, in JavaScript and in Lua.
hasBulletImpactedInBox(
p0: number,
p1: number,
p2: number,
p3: number,
p4: number,
p5: number,
p6: boolean,
p7: boolean
): booleanhasBulletImpactedInBox(
p0: number,
p1: number,
p2: number,
p3: number,
p4: number,
p5: number,
p6: boolean,
p7: boolean
): booleanUsage
JavaScript
const result = hasBulletImpactedInBox(p0, p1, p2, p3, p4, p5, p6, p7);Lua
local result = hasBulletImpactedInBox(p0, p1, p2, p3, p4, p5, p6, p7)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | float | number | number |
p1 | float | number | number |
p2 | float | number | number |
p3 | float | number | number |
p4 | float | number | number |
p5 | float | number | number |
p6 | BOOL | boolean | boolean |
p7 | BOOL | boolean | boolean |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Misc MISC
- In the game
BOOL HAS_BULLET_IMPACTED_IN_BOX(float p0, float p1, float p2, float p3, float p4, float p5, BOOL p6, BOOL p7)- Hash
0xDC8C5D7CFEAB8394