Lua:RemoveHudItem

From Fortress Forever Wiki
Revision as of 11:16, 11 May 2009 by Crazycarl (talk | contribs) (New page: {{Infobox manual/Header}} ==RemoveHudItem== Deletes an icon, text, or timer from a player's screen ===Usage=== <pre>RemoveHudItem( player, HUD_id )</pre> ===Input=== * player(CFFPlayer)...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


RemoveHudItem

Deletes an icon, text, or timer from a player's screen

Usage

RemoveHudItem( player, HUD_id )

Input

  • player(CFFPlayer) The player who is to be affected
  • HUD_id(string) the name of the HUD item to be removed. This is the same string that was used when the HUD item was created.

Output

Returns: nothing

Example

local player = CastToPlayer( player_entity )
RemoveHudItem( player, "mapoverlay" )