IS_PED_ARMED
Hash
0xCB690F680A3EA971Runtime name
IsPedArmedNamespaceWEAPON
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL IS_PED_ARMED(Ped ped, int flags);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
flags | int | — |
Returns BOOL
Usage
local retval = IsPedArmed(ped, flags)
-- always works, by hash
local retval = Citizen.InvokeNative(0xCB690F680A3EA971, ped, flags, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedArmed(ped, flags);
// by hash
const retval = Citizen.invokeNative('0xCB690F680A3EA971', ped, flags, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xCB690F680A3EA971, ped, flags);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.