ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. showPlayerHudComponent

Function

showPlayerHudComponent

ServerMiscellaneousIdentical to MTA:SA

Another name for setPlayerHudComponentVisible: shows or hides a game HUD component for a player (e.g. "radar", "money", "health", "all").

Syntax

bool showPlayerHudComponent(player thePlayer, string component, bool show)

Arguments

thePlayerplayer
A player or root.
componentstring
The component name.
showbool
true = show.

Returns

true on success.

Example

showPlayerHudComponent(player, "radar", false)

See also