Difference between revisions of "Lua:RemoveHudItem"

From Fortress Forever Wiki
Jump to navigationJump to search
(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)...)
 
(No difference)

Latest revision as of 11:16, 11 May 2009


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" )