setWaitForCollisionsBeforeProbe
SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE0xDC6F8601FAF2E893The 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.
setWaitForCollisionsBeforeProbe(entity: Entity, toggle: boolean): voidsetWaitForCollisionsBeforeProbe(entity: Entity, toggle: boolean)Usage
JavaScript
setWaitForCollisionsBeforeProbe(entity, toggle);Lua
setWaitForCollisionsBeforeProbe(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
toggle | BOOL | boolean | boolean |
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