ObjectClient

doorSystemSetDoorOpenForRaces

DOOR_SYSTEM_SET_DOOR_OPEN_FOR_RACES0xA85A21582451E951

The 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.

SignatureJavaScript
doorSystemSetDoorOpenForRaces(doorHash: Hash, p1: boolean): void
SignatureLua
doorSystemSetDoorOpenForRaces(doorHash: Hash, p1: boolean)

Usage

JavaScript
doorSystemSetDoorOpenForRaces(doorHash, p1);
Lua
doorSystemSetDoorOpenForRaces(doorHash, p1)

Parameters

ParameterTypeJavaScriptLua
doorHashHashnumberinteger
p1BOOLbooleanboolean

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

doorSystemSetAutomaticRate

and

doorSystemSetDoorState

.

Reference

Namespace
Object OBJECT
In the game
void DOOR_SYSTEM_SET_DOOR_OPEN_FOR_RACES(Hash doorHash, BOOL p1)
Hash
0xA85A21582451E951

Open in the interactive natives reference