IS_DOOR_CLOSED
Hash
0xC531EE8A1145A149Runtime name
IsDoorClosedNamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC531EE8A1145A149Signature
BOOL IS_DOOR_CLOSED(Hash doorHash);Parameters
| Name | Type | Description |
|---|---|---|
doorHash | Hash | — |
Returns BOOL
Usage
local retval = IsDoorClosed(doorHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC531EE8A1145A149, doorHash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsDoorClosed(doorHash);
// by hash
const retval = Citizen.invokeNative('0xC531EE8A1145A149', doorHash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xC531EE8A1145A149, doorHash);- 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`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.