Skip to main content

Ui::hideHudComponentThisFrame

Client-side function

Syntax​

mp.game.ui.hideHudComponentThisFrame(componentIndex);

Required Arguments​

  • componentIndex: int

Components​

  • Full list: HUD Components list

Return value​

  • Undefined

Example​

Client-Side

//Disables the HUD
mp.game.ui.hideHudComponentThisFrame(0);