WeaponClient

isPedCurrentWeaponSilenced

IS_PED_CURRENT_WEAPON_SILENCED0x65F0C5AE05943EC7

The GTA V native IS_PED_CURRENT_WEAPON_SILENCED of the WEAPON namespace, as LS:MP client scripts call it: the global function isPedCurrentWeaponSilenced, in JavaScript and in Lua.

SignatureJavaScript
isPedCurrentWeaponSilenced(ped: Ped): boolean
SignatureLua
isPedCurrentWeaponSilenced(ped: Ped): boolean

Usage

JavaScript
const result = isPedCurrentWeaponSilenced(ped);
Lua
local result = isPedCurrentWeaponSilenced(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This native returns a true or false value.

Ped ped = The ped whose weapon you want to check.

Reference

Namespace
Weapon WEAPON
In the game
BOOL IS_PED_CURRENT_WEAPON_SILENCED(Ped ped)
Hash
0x65F0C5AE05943EC7

Open in the interactive natives reference