setUseKinematicPhysics
SET_USE_KINEMATIC_PHYSICS0x15F944730C832252The GTA V native SET_USE_KINEMATIC_PHYSICS of the PHYSICS namespace, as LS:MP client scripts call it: the global function setUseKinematicPhysics, in JavaScript and in Lua.
setUseKinematicPhysics(entity: Entity, toggle: boolean): voidsetUseKinematicPhysics(entity: Entity, toggle: boolean)Usage
JavaScript
setUseKinematicPhysics(entity, toggle);Lua
setUseKinematicPhysics(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Physics PHYSICS
- In the game
void SET_USE_KINEMATIC_PHYSICS(Entity entity, BOOL toggle)- Hash
0x15F944730C832252- Introduced
- Game build 463 legacy numbering
- Formerly
_SET_ENTITY_PROOF_UNK