SetNametagDrawDistance

From Liberty Unleashed Wiki
Revision as of 18:34, 5 September 2017 by Thijn (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

Default Nametag Draw Distance = 100.0

Syntax

  1. SetNametagDrawDistance(float)

Arguments

  • float - The distance of render player nametags.

Example

This example disable nametags for all players.

  1.  
  2. function onScriptLoad()
  3. {
  4. SetNametagDrawDistance(0.0);
  5. }
  6.  

Notes

The call onScriptLoad was used in in this example. More info about this in the corresponding page.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox