RedM Natives

GET_TRACKED_PED_PIXELCOUNT

Hash0x511F1A683387C7E2
Runtime nameGetTrackedPedPixelcount
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x511F1A683387C7E2

Signature

int GET_TRACKED_PED_PIXELCOUNT(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Usage

Lua
local retval = GetTrackedPedPixelcount(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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