Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers

From Vice City Multiplayer
Revision as of 09:18, 9 March 2016 by Xmair (talk | contribs) (Created page with "This function will return the current status of players' nametags. == Syntax == <pre>GetShowNametags()</pre> == Arguments == '''N/A''' == Return value == * ''bool'' '''t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

This function will return the current status of players' nametags.

Syntax

GetShowNametags()

Arguments

N/A

Return value

  • bool toggled - true or false

Example

function onScriptLoad ()
{
print ( "Show name tags setting is set to " + GetShowNametags() + "!");
}

- Xmair.

Notes

Call onScriptLoad was used in this example.

Related Functions