_GET_PED_WORST_WEAPON
Hash
0xDA37A053C1522F5DRuntime name
GetPedWorstWeaponNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Hash _GET_PED_WORST_WEAPON(Ped ped, BOOL p1, BOOL p2, BOOL p3);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | BOOL | — |
p2 | BOOL | — |
p3 | BOOL | — |
Returns Hash
Usage
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#
const retval = GetPedWorstWeapon(ped, p1, p2, p3);
// by hash
const retval = Citizen.invokeNative('0xDA37A053C1522F5D', ped, p1, p2, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.