RedM Natives

GET_PED_ACCURACY

Hash0x37F4AD56ECBC0CD6
Runtime nameGetPedAccuracy
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x37F4AD56ECBC0CD6

Signature

int GET_PED_ACCURACY(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Usage

Lua
local retval = GetPedAccuracy(ped)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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