_DOES_PED_HAVE_REVOLVER
Returns whether the ped has a revolver p1: 0 or 1
Hash
0x5B235F24472F2C3BRuntime name
DoesPedHaveRevolverNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _DOES_PED_HAVE_REVOLVER(Ped ped, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | BOOL | — |
Returns BOOL
Description
Preview: https://imgur.com/a/U8Q04Xu
Returns whether the ped has a revolver p1: 0 or 1
Usage
local retval = DoesPedHaveRevolver(ped, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5B235F24472F2C3B, ped, p1, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = DoesPedHaveRevolver(ped, p1);
// by hash
const retval = Citizen.invokeNative('0x5B235F24472F2C3B', ped, p1, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x5B235F24472F2C3B, ped, p1);- 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
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.