startShapeTestBound

START_SHAPE_TEST_BOUND0x37181417CE7C8900

The GTA V native START_SHAPE_TEST_BOUND of the SHAPETEST namespace, as LS:MP client scripts call it: the global function startShapeTestBound, in JavaScript and in Lua.

SignatureJavaScript
startShapeTestBound(entity: Entity, flags1: number, flags2: number): number
SignatureLua
startShapeTestBound(entity: Entity, flags1: integer, flags2: integer): integer

Usage

JavaScript
const result = startShapeTestBound(entity, flags1, flags2);
Lua
local result = startShapeTestBound(entity, flags1, flags2)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
flags1intnumberinteger
flags2intnumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
Shape tests SHAPETEST
In the game
int START_SHAPE_TEST_BOUND(Entity entity, int flags1, int flags2)
Hash
0x37181417CE7C8900

Open in the interactive natives reference