RedM Natives

GET_LOOTING_PICKUP_TARGET_ENTITY

Hash0x14169FA823679E41
Runtime nameGetLootingPickupTargetEntity
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

Entity GET_LOOTING_PICKUP_TARGET_ENTITY(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Entity

Usage

Lua
local retval = GetLootingPickupTargetEntity(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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