doorSystemGetOpenRatio
DOOR_SYSTEM_GET_OPEN_RATIO0x65499865FCA6E5ECThe GTA V native DOOR_SYSTEM_GET_OPEN_RATIO of the OBJECT namespace, as LS:MP client scripts call it: the global function doorSystemGetOpenRatio, in JavaScript and in Lua.
doorSystemGetOpenRatio(doorHash: Hash): numberdoorSystemGetOpenRatio(doorHash: Hash): numberUsage
JavaScript
const value = doorSystemGetOpenRatio(doorHash);Lua
local value = doorSystemGetOpenRatio(doorHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
doorHash | Hash | number | integer |
Returns
float JavaScript number, Lua numberReference
- Namespace
- Object OBJECT
- In the game
float DOOR_SYSTEM_GET_OPEN_RATIO(Hash doorHash)- Hash
0x65499865FCA6E5EC