Перейти к содержанию

Weapon::isPedCurrentSilenced

Материал из RAGE MP Wiki Archive
Версия от 08:06, 25 апреля 2024; imported>Shr0x (Created page with "{{ClientsideJsFunction}} {{JSContainer| Checks whether ped's current weapon is silenced or not. === Required Params === *'''playerHandle''' {{RageType|number}} === Return Value === *'''silenced''' {{RageType|boolean}} ==Syntax== <pre> mp.game.weapon.isPedCurrentSilenced(playerHandle); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> const weaponSilenced = mp.game.weapon.isPedCurrentSilenced(mp.players.local.handle); mp.console.logInfo(`Players...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Client-Side
Function

Ошибка создания миниатюры: Не удаётся сохранить эскиз по месту назначения JavaScript



Checks whether ped's current weapon is silenced or not.

Required Params

  • playerHandle number

Return Value

  • silenced boolean

Syntax

mp.game.weapon.isPedCurrentSilenced(playerHandle);

Example

Client-Side

{{{1}}}


See also