RedM Natives

_GET_PED_WORST_WEAPON

Hash0xDA37A053C1522F5D
Runtime nameGetPedWorstWeapon
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Hash _GET_PED_WORST_WEAPON(Ped ped, BOOL p1, BOOL p2, BOOL p3);

Parameters

NameTypeDescription
pedPed—
p1BOOL—
p2BOOL—
p3BOOL—

Returns Hash

Usage

Lua
local retval = GetPedWorstWeapon(ped, p1, p2, p3)

-- always works, by hash
local retval = Citizen.InvokeNative(0xDA37A053C1522F5D, ped, p1, p2, p3, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedWorstWeapon(ped, p1, p2, p3);

// by hash
const retval = Citizen.invokeNative('0xDA37A053C1522F5D', ped, p1, p2, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xDA37A053C1522F5D, ped, p1, p2, p3);
  • 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.

Sources

alloc8or RDR3 NativeDB

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