Gamemode.HUDShouldDraw
From GMod Wiki
Event Hook | |
Hook Name | HUDShouldDraw |
Syntax | GM:HUDShouldDraw( String name ) |
Description | A string containing the name of the hud object checking to see if it can be displayed. See: Hud Elements |
Returns | Boolean |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.HUDShouldDraw]Gamemode.HUDShouldDraw [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The following are HUD objects that can be hidden.
CAchievementNotificationPanel | Achievement notifications | |
CHudHealth | Your Health | |
CHudSuitPower | Most likely Auxiliary Power | |
CHudBattery | Your Armor | |
CHudCrosshair | Your crosshair | |
CHudAmmo | Primary Ammo | |
CHudSecondaryAmmo | Secondary Ammo | |
CHudChat | The chat area | |
CHudCloseCaption | The closed-caption messages | |
CHudCredits | Credits | |
CHudDeathNotice | Death notices that appear at the top right of the screen | |
CHudTrain | Controls when using a func_train? | |
CHudMessage | Messages printed to the center of the screen | |
CHudMenu | Unknown | |
CHudWeapon | Unknown | |
CHudWeaponSelection | Player weapon selection menu | |
CHudGMod | HUD's produced by Garrysmod | |
CHudDamageIndicator | The red trapazoids displayed on the side of the screen when damage is taken, also includes the red screen you get when died from combat. | |
CHudHintDisplay | Displays hints as seen in Half-Life 2 | |
CHudVehicle | Control panel when entering a vehicle/crane? | |
CHudVoiceStatus | Shows when other players use microphone voice chat. | |
CHudVoiceSelfStatus | Shows when the local player uses microphone voice chat. | |
CHudSquadStatus | Squad status panel shown when rebels join your squad | |
CHudZoom | Dimming and large crosshair | |
CHudCommentary | Display showing the duration and progress of the currently active commentary node | |
CHudGeiger | Commentary panel | |
CHudHistoryResource | List of items/ammunition the player recently picked up | |
CHudAnimationInfo | Displays information about HUD elements, activated by the console command cl_animationinfo | |
CHUDAutoAim | Unknown | |
CHudFilmDemo | Unknown | |
CHudHDRDemo | Lost Coast HDR Demonstration HUD element | |
CHudPoisonDamageIndicator | Panel that appears upon a player receiving poison [Neurotoxin] damage | |
CPDumpPanel | Panel that appears when using cl_pdump |