RedM Natives

GET_PED_LOOT_STATUS_MP

PLS_NONE, PLS_PRE_LOOT, PLS_SAMPLING, PLS_SKINNING

Hash0xC737697C41628340
Runtime nameGetPedLootStatusMp
NamespacePED
SideClient
NameOfficial
Docs
Since build1311

Signature

int GET_PED_LOOT_STATUS_MP(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Description

enum ePedLootStatus
{
	PLS_NONE,
	PLS_PRE_LOOT,
	PLS_SAMPLING,
	PLS_SKINNING
};

Usage

Lua
local retval = GetPedLootStatusMp(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0xC737697C41628340, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedLootStatusMp(ped);

// by hash
const retval = Citizen.invokeNative('0xC737697C41628340', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xC737697C41628340, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.