{"hash":"0x1E804EA9B12030A4","ns":"ENTITY","name":"_GET_SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT","slug":"_GET_SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT","official":false,"named":true,"luaName":"GetScriptOverrideEntityLootTablePermanent","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"entity","type":"Entity"},{"name":"lootTable","type":"Hash*"}],"summary":"Returns false if entity is not a ped or object.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns false if entity is not a ped or object."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_GET_SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_GET_SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT.md","snippets":{"lua":"local retval, lootTable = GetScriptOverrideEntityLootTablePermanent(entity, lootTable)","luaInvoke":"local retval, lootTable = Citizen.InvokeNative(0x1E804EA9B12030A4, entity, Citizen.PointerValueIntInitialized(lootTable), Citizen.ReturnResultAnyway())","js":"const [retval, lootTable] = GetScriptOverrideEntityLootTablePermanent(entity, lootTable);","jsInvoke":"const [retval, lootTable] = Citizen.invokeNative('0x1E804EA9B12030A4', entity, Citizen.pointerValueIntInitialized(lootTable), Citizen.returnResultAnyway());","csharp":"var lootTable = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x1E804EA9B12030A4, entity, lootTable);\n// lootTable.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","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."]}}