_DOOR_SYSTEM_GET_AUTOMATIC_RATE
Returns the automatic opening rate of the registered door.
Signature
float _DOOR_SYSTEM_GET_AUTOMATIC_RATE(Hash doorHash); // 0x8433E1954BE323FC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | doorHash | Hash |
Facts
| Name | _DOOR_SYSTEM_GET_AUTOMATIC_RATE |
|---|---|
| Hash | 0x8433E1954BE323FC |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x8433E1954BE323FC, -- _DOOR_SYSTEM_GET_AUTOMATIC_RATE
GetHashKey("name"), -- Hash doorHash
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x8433E1954BE323FC", // _DOOR_SYSTEM_GET_AUTOMATIC_RATE
GetHashKey("name"), // Hash doorHash
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x8433E1954BE323FC, // _DOOR_SYSTEM_GET_AUTOMATIC_RATE
(uint)API.GetHashKey("name") // Hash doorHash
);Related OBJECT natives
- _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_SET_AUTOMATIC_STATE
- DOOR_SYSTEM_GET_DOOR_STATE
- DOOR_SYSTEM_SET_AUTOMATIC_RATE
- _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
- _DOOR_SYSTEM_CHECK_ACTION_FLAG
- _DOOR_SYSTEM_CLEAR_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_FORCE_SHUT
- _DOOR_SYSTEM_SET_ABLE_TO_CHANGE_OPEN_RATIO_WHILE_LOCKED
- _DOOR_SYSTEM_SWING_OPEN
- DOOR_SYSTEM_GET_OPEN_RATIO
- DOOR_SYSTEM_SET_AUTOMATIC_DISTANCE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.