setObjectIsAPressurePlate
SET_OBJECT_IS_A_PRESSURE_PLATE0x734E1714D077DA9AThe GTA V native SET_OBJECT_IS_A_PRESSURE_PLATE of the OBJECT namespace, as LS:MP client scripts call it: the global function setObjectIsAPressurePlate, in JavaScript and in Lua.
setObjectIsAPressurePlate(object: Object, toggle: boolean): voidsetObjectIsAPressurePlate(object: Object, toggle: boolean)Usage
JavaScript
setObjectIsAPressurePlate(object, toggle);Lua
setObjectIsAPressurePlate(object, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void SET_OBJECT_IS_A_PRESSURE_PLATE(Object object, BOOL toggle)- Hash
0x734E1714D077DA9A- Introduced
- Game build 1604 legacy numbering