_GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
Returns m_eContainerState
Hash
0xB219612B5568E9ECRuntime name
GetRansackScenarioContainerOpeningStateNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_GET_SCENARIO_CONTAINER_OPENING_STATESignature
BOOL _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns BOOL
Description
Returns m_eContainerState
Usage
local retval = GetRansackScenarioContainerOpeningState(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB219612B5568E9EC, entity, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetRansackScenarioContainerOpeningState(entity);
// by hash
const retval = Citizen.invokeNative('0xB219612B5568E9EC', entity, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
See also
_SET_RANSACK_SCENARIO_CONTAINER_OPENING_STATEOpens/closes containers: ChestDugUp
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.