Squirrel/Client/Functions/Misc/SetNametagDrawDistance

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Squirrel/Title|SetNametagDrawDistance}} Default Nametag Draw Distance = 100.0 == Syntax == <code>SetNametagDrawDistance(float)</code> == Arguments == * '''float''' - The...")
 
m (Undo revision 41687 by Kupka (talk))
 
(One intermediate revision by one user not shown)

Latest revision as of 18:34, 5 September 2017

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

Default Nametag Draw Distance = 100.0

[edit] Syntax

  1. SetNametagDrawDistance(float)

[edit] Arguments

  • float - The distance of render player nametags.

[edit] Example

This example disable nametags for all players.

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

[edit] Notes

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

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox