RedM Natives

IS_PED_SHOOTING

Returns whether the specified ped is shooting.

Hash0x34616828CD07F1A1
Runtime nameIsPedShooting
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x34616828CD07F1A1

Signature

BOOL IS_PED_SHOOTING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

Returns whether the specified ped is shooting.

Usage

Lua
local retval = IsPedShooting(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x34616828CD07F1A1, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedShooting(ped);

// by hash
const retval = Citizen.invokeNative('0x34616828CD07F1A1', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x34616828CD07F1A1, ped);

Sources

alloc8or RDR3 NativeDB

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