The Lab
TASK native

_GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE

returns BOOL1 parambuild 1207

Returns true if the container entity is open.

Signature

C
BOOL _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE(Entity entity); // 0xB219612B5568E9EC b1207

Parameters

#NameType
1entityEntity

Facts

Facts about _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
Name
_GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
Hash
0xB219612B5568E9EC
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xB219612B5568E9EC, -- _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
  PlayerPedId() -- Entity entity
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xB219612B5568E9EC", // _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
  PlayerPedId(), // Entity entity
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xB219612B5568E9EC, // _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
  API.PlayerPedId() // Entity entity
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.