SetNametagDrawDistance

From Liberty Unleashed Wiki
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