EntityClient

setWaitForCollisionsBeforeProbe

SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE0xDC6F8601FAF2E893

The GTA V native SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE of the ENTITY namespace, as LS:MP client scripts call it: the global function setWaitForCollisionsBeforeProbe, in JavaScript and in Lua.

SignatureJavaScript
setWaitForCollisionsBeforeProbe(entity: Entity, toggle: boolean): void
SignatureLua
setWaitForCollisionsBeforeProbe(entity: Entity, toggle: boolean)

Usage

JavaScript
setWaitForCollisionsBeforeProbe(entity, toggle);
Lua
setWaitForCollisionsBeforeProbe(entity, toggle)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Only called within 1 script for x360. 'fm_mission_controller' and it used on an object.

Ran after these 2 natives,

set_object_targettable(uParam0, 0);
set_entity_invincible(uParam0, 1);

Reference

Namespace
Entity ENTITY
In the game
void SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE(Entity entity, BOOL toggle)
Hash
0xDC6F8601FAF2E893

Open in the interactive natives reference