IsPlayerHudComponentVisible
Jump to navigation
Jump to search
This function checks if the component is visible.
Syntax
bool isPlayerHudComponentVisible ( string component )
Required
component: The component to check.
Return
Returns true if the component is visible, else false.
Example
addCommandHandler("isComponent",function(_,theComponent) if isPlayerHudComponentVisible(theComponent) then outputChatBox("Yes, the component "..theComponent.." is visible.") else outputChatBox("No, the component "..theComponent.." is not visible or might not exist.") end end)
See Also
- getLocalPlayer
- getPlayerMapBoundingBox
- getPlayerMapOpacity
- isPlayerMapVisible
- resetBlurLevel
- isPlayerHudComponentVisible
- Shared
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState