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

Ui::setShowHudComponentsThisFrameBatch

Материал из RAGE MP Wiki Archive
Версия от 04:23, 25 апреля 2024; imported>Shr0x (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Required Params === *'''show''' {{RageType|Boolean}} *'''components''' {{RageType|Number[]}} === Return Value === *'''void''' {{RageType|void}} ==Syntax== <pre> mp.game.hud.setShowHudComponentsThisFrameBatch(show, components); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> const hudComponents = { HUD_WANTED_STARS: 1, HUD_WEAPON_ICON: 2, HUD_CASH: 3, HUD_MP_CASH: 4 } //hide hud comp...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Client-Side
Function

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



Required Params

  • show Boolean
  • components Number[]


Return Value

  • void void

Syntax

mp.game.hud.setShowHudComponentsThisFrameBatch(show, components);

Example

Client-Side

{{{1}}}


See also