RedM Natives

_GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE

Returns m_eContainerState

Hash0xB219612B5568E9EC
Runtime nameGetRansackScenarioContainerOpeningState
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_GET_SCENARIO_CONTAINER_OPENING_STATE

Signature

BOOL _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Description

Returns m_eContainerState

Usage

Lua
local retval = GetRansackScenarioContainerOpeningState(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB219612B5568E9EC, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetRansackScenarioContainerOpeningState(entity);

// by hash
const retval = Citizen.invokeNative('0xB219612B5568E9EC', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB219612B5568E9EC, entity);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.