doorSystemSetDoorOpenForRaces
DOOR_SYSTEM_SET_DOOR_OPEN_FOR_RACES0xA85A21582451E951The GTA V native DOOR_SYSTEM_SET_DOOR_OPEN_FOR_RACES of the OBJECT namespace, as LS:MP client scripts call it: the global function doorSystemSetDoorOpenForRaces, in JavaScript and in Lua.
doorSystemSetDoorOpenForRaces(doorHash: Hash, p1: boolean): voiddoorSystemSetDoorOpenForRaces(doorHash: Hash, p1: boolean)Usage
JavaScript
doorSystemSetDoorOpenForRaces(doorHash, p1);Lua
doorSystemSetDoorOpenForRaces(doorHash, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
doorHash | Hash | number | integer |
p1 | 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.
Some property related to gates. Native name between
doorSystemSetAutomaticRateand
doorSystemSetDoorState.
Reference
- Namespace
- Object OBJECT
- In the game
void DOOR_SYSTEM_SET_DOOR_OPEN_FOR_RACES(Hash doorHash, BOOL p1)- Hash
0xA85A21582451E951