RedM Natives

_GET_ACCURACY_AGAINST_LOCAL_PLAYER_MODIFIER

Hash0xDC9273D95976BA22
Runtime nameGetAccuracyAgainstLocalPlayerModifier
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

float _GET_ACCURACY_AGAINST_LOCAL_PLAYER_MODIFIER(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns float

Usage

Lua
local retval = GetAccuracyAgainstLocalPlayerModifier(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0xDC9273D95976BA22, ped, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetAccuracyAgainstLocalPlayerModifier(ped);

// by hash
const retval = Citizen.invokeNative('0xDC9273D95976BA22', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0xDC9273D95976BA22, ped);
  • 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.

See also

Sources

alloc8or RDR3 NativeDB

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