setEntityShouldFreezeWaitingOnCollision
SET_ENTITY_SHOULD_FREEZE_WAITING_ON_COLLISION0x3910051CCECDB00CThe GTA V native SET_ENTITY_SHOULD_FREEZE_WAITING_ON_COLLISION of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityShouldFreezeWaitingOnCollision, in JavaScript and in Lua.
setEntityShouldFreezeWaitingOnCollision(entity: Entity, toggle: boolean): voidsetEntityShouldFreezeWaitingOnCollision(entity: Entity, toggle: boolean)Usage
JavaScript
setEntityShouldFreezeWaitingOnCollision(entity, toggle);Lua
setEntityShouldFreezeWaitingOnCollision(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.
True means it can be deleted by the engine when switching lobbies/missions/etc, false means the script is expected to clean it up.
"Allow Freeze If No Collision"
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_ENTITY_SHOULD_FREEZE_WAITING_ON_COLLISION(Entity entity, BOOL toggle)- Hash
0x3910051CCECDB00C- Formerly
_SET_ENTITY_REGISTER_SET_ENTITY_SOMETHING_SET_ENTITY_CLEANUP_BY_ENGINE