DOOR_SYSTEM_GET_OPEN_RATIO
Hash
0x65499865FCA6E5ECRuntime name
DoorSystemGetOpenRatioNamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x65499865FCA6E5ECSignature
float DOOR_SYSTEM_GET_OPEN_RATIO(Hash doorHash);Parameters
| Name | Type | Description |
|---|---|---|
doorHash | Hash | — |
Returns float
Usage
local retval = DoorSystemGetOpenRatio(doorHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x65499865FCA6E5EC, doorHash, Citizen.ResultAsFloat())JavaScript and C#
const retval = DoorSystemGetOpenRatio(doorHash);
// by hash
const retval = Citizen.invokeNative('0x65499865FCA6E5EC', doorHash, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x65499865FCA6E5EC, 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.