- Documentation
- Server functions
- showPlayerHudComponent
Function
showPlayerHudComponent
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.
showbooltrue= show.
Returns
true on success.
Example
showPlayerHudComponent(player, "radar", false)