RedM Natives

_SET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE

Opens/closes containers: ChestDugUp

Hash0x188F8071F244B9B8
Runtime nameSetRansackScenarioContainerOpeningState
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_SET_SCENARIO_CONTAINER_OPENING_STATE

Signature

void _SET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE(Entity entity, BOOL open);

Parameters

NameTypeDescription
entityEntity—
openBOOL—

Returns void

Description

Opens/closes containers: ChestDugUp

Usage

Lua
SetRansackScenarioContainerOpeningState(entity, open)

-- always works, by hash
Citizen.InvokeNative(0x188F8071F244B9B8, entity, open)
JavaScript and C#
JavaScript
SetRansackScenarioContainerOpeningState(entity, open);

// by hash
Citizen.invokeNative('0x188F8071F244B9B8', entity, open);
C#
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 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.