_SET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
Opens/closes containers: ChestDugUp
Hash
0x188F8071F244B9B8Runtime name
SetRansackScenarioContainerOpeningStateNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_SET_SCENARIO_CONTAINER_OPENING_STATESignature
void _SET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE(Entity entity, BOOL open);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
open | BOOL | — |
Returns void
Description
Opens/closes containers: ChestDugUp
Usage
SetRansackScenarioContainerOpeningState(entity, open)
-- always works, by hash
Citizen.InvokeNative(0x188F8071F244B9B8, entity, open)JavaScript and C#
SetRansackScenarioContainerOpeningState(entity, open);
// by hash
Citizen.invokeNative('0x188F8071F244B9B8', entity, open);Function.Call((Hash)0x188F8071F244B9B8, entity, open);- 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
_GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATEReturns m_eContainerState
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.