isPedCurrentWeaponSilenced
IS_PED_CURRENT_WEAPON_SILENCED0x65F0C5AE05943EC7The 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.
isPedCurrentWeaponSilenced(ped: Ped): booleanisPedCurrentWeaponSilenced(ped: Ped): booleanUsage
JavaScript
const result = isPedCurrentWeaponSilenced(ped);Lua
local result = isPedCurrentWeaponSilenced(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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