The Lab
ENTITY native

_GET_OPTIMAL_CARRY_CONFIG

returns Hash2 paramsbuild 1207

Returns the optimal carry configuration hash at index for the entity.

Signature

C
Hash _GET_OPTIMAL_CARRY_CONFIG(Entity entity, int index); // 0x34F008A7E48C496B b1207

Parameters

#NameType
1entityEntity
2indexint

Facts

Facts about _GET_OPTIMAL_CARRY_CONFIG
Name
_GET_OPTIMAL_CARRY_CONFIG
Hash
0x34F008A7E48C496B
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0x34F008A7E48C496B, -- _GET_OPTIMAL_CARRY_CONFIG
  PlayerPedId(), -- Entity entity
  0, -- int index
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x34F008A7E48C496B", // _GET_OPTIMAL_CARRY_CONFIG
  PlayerPedId(), // Entity entity
  0, // int index
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x34F008A7E48C496B, // _GET_OPTIMAL_CARRY_CONFIG
  API.PlayerPedId(), // Entity entity
  0 // int index
);
All ENTITY natives

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