Scripting/Squirrel/Functions/SetShowOnlyTeamMarkers: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(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. ==...")
(No difference)

Revision as of 09:20, 9 March 2016

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