{"hash":"0x2A77EF9BEC8518F4","ns":"ENTITY","name":"_GET_CARCASS_FROM_PELT","slug":"_GET_CARCASS_FROM_PELT","official":false,"named":true,"luaName":"GetCarcassFromPelt","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"entity","type":"Entity"}],"summary":"Returns the original animal/carcass entity from which a pelt entity was obtained.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the original animal/carcass entity from which a pelt entity was obtained.\nObserved after skinning an animal: passing the created pelt entity returns the original animal entity. Returns 0 if no valid source entity exists."},{"source":"vorp","format":"text","body":"Returns the original animal (carcass) entity from which a pelt entity was obtained if it still exists"}],"examples":[],"aliases":["_GET_ENTITY_FROM_PELT"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_GET_CARCASS_FROM_PELT","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_GET_CARCASS_FROM_PELT.md","snippets":{"lua":"local retval = GetCarcassFromPelt(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0x2A77EF9BEC8518F4, entity, Citizen.ResultAsInteger())","js":"const retval = GetCarcassFromPelt(entity);","jsInvoke":"const retval = Citizen.invokeNative('0x2A77EF9BEC8518F4', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x2A77EF9BEC8518F4, entity);","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."]}}