_GET_OPTIMAL_CARRY_CONFIG
Returns the optimal carry configuration hash at index for the entity.
Signature
Hash _GET_OPTIMAL_CARRY_CONFIG(Entity entity, int index); // 0x34F008A7E48C496B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | index | int |
Facts
| 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.
local hash = Citizen.InvokeNative(0x34F008A7E48C496B, -- _GET_OPTIMAL_CARRY_CONFIG
PlayerPedId(), -- Entity entity
0, -- int index
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x34F008A7E48C496B", // _GET_OPTIMAL_CARRY_CONFIG
PlayerPedId(), // Entity entity
0, // int index
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x34F008A7E48C496B, // _GET_OPTIMAL_CARRY_CONFIG
API.PlayerPedId(), // Entity entity
0 // int index
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.