_DOOR_SYSTEM_SET_AUTOMATIC_STATE
_ALLOW_* - _ATTACH_*
Hash
0x1BC47A9DEDC8DF5DRuntime name
DoorSystemSetAutomaticStateNamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _DOOR_SYSTEM_SET_AUTOMATIC_STATE(Hash doorHash, BOOL disable);Parameters
| Name | Type | Description |
|---|---|---|
doorHash | Hash | — |
disable | BOOL | — |
Returns void
Description
_ALLOW_* - _ATTACH_*
Usage
DoorSystemSetAutomaticState(doorHash, disable)
-- always works, by hash
Citizen.InvokeNative(0x1BC47A9DEDC8DF5D, doorHash, disable)JavaScript and C#
DoorSystemSetAutomaticState(doorHash, disable);
// by hash
Citizen.invokeNative('0x1BC47A9DEDC8DF5D', doorHash, disable);Function.Call((Hash)0x1BC47A9DEDC8DF5D, doorHash, disable);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.