Lua:AddHudTextToAll

From Fortress Forever Wiki
Revision as of 11:05, 11 May 2009 by Crazycarl (talk | contribs) (New page: {{Infobox manual/Header}} ==AddHudTextToAll== Puts a text object on the screens of all players on the server ===Usage=== <pre>AddHudTextToAll(text_id, text, a, b, c, d)</pre> ===Input==...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


AddHudTextToAll

Puts a text object on the screens of all players on the server

Usage

AddHudTextToAll(text_id, text, a, b, c, d)

Input

  • text_id(string) the name of this text (so we can remove it later)
  • text(string) The text to display
  • a(integer) x position
  • b(integer) y position
  • c(integer) alignment
  • d(integer) not sure.

Output

returns: nothing

Example

local text_align = 4
local text_x = 40
local text_line1y = 84
AddHudTextToAll( "defender_points_text", "Defenders", text_x, text_line1y, text_align )