Scripting/Squirrel/Functions/SetShowOnlyTeamMarkers

From Vice City Multiplayer
Revision as of 09:20, 9 March 2016 by Xmair (talk | contribs) (Created page with "This function will set the player's tag visible to only his/her team. == Syntax == <pre>SetShowOnlyTeamMarkers ( bool );</pre> == Arguments == '''bool''' True / false. ==...")
(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 set the player's tag visible to only his/her team.

Syntax

SetShowOnlyTeamMarkers ( bool );

Arguments

bool True / false.

Example

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

- Xmair.

Notes

Call onScriptLoad and GetShowOnlyTeamMarkers were used in this example.

Related Functions