{"hash":"0x34F008A7E48C496B","ns":"ENTITY","name":"_GET_OPTIMAL_CARRY_CONFIG","slug":"_GET_OPTIMAL_CARRY_CONFIG","official":false,"named":true,"luaName":"GetOptimalCarryConfig","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"entity","type":"Entity"},{"name":"index","type":"int"}],"summary":"Valid indices: 0 - 3 Index 1 always returns a `hogtied` config, doesn't matter the entity.","descriptions":[{"source":"alloc8or","format":"text","body":"Valid indices: 0 - 3\nIndex 1 always returns a `hogtied` config, doesn't matter the entity.\nIt's for humans only and the ped must be resurrected first if it's dead."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_GET_OPTIMAL_CARRY_CONFIG","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_GET_OPTIMAL_CARRY_CONFIG.md","snippets":{"lua":"local retval = GetOptimalCarryConfig(entity, index)","luaInvoke":"local retval = Citizen.InvokeNative(0x34F008A7E48C496B, entity, index, Citizen.ResultAsInteger())","js":"const retval = GetOptimalCarryConfig(entity, index);","jsInvoke":"const retval = Citizen.invokeNative('0x34F008A7E48C496B', entity, index, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x34F008A7E48C496B, entity, index);","notes":["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."]}}