Scripting/Server/Functions/ToggleImprovedPlayerBlips

(v0.3.3+) GTA V style player blips on the radar: the default coloured square of another player becomes a circle with a black rim and a thin white ring, filled with that player colour (Player.Colour). When the player is clearly above the viewer a white chevron pointing up is drawn inside the circle, when he is clearly below a chevron pointing down, and no chevron at about the same height (about 3 metres). With one argument it applies to every player, including those who join later; with a player it applies to that player only (also player.ImprovedBlips). Icon blips (Blip class, icons) are not changed. PC and Android.

Syntax

ToggleImprovedPlayerBlips(bool)
(player|null, bool)

Arguments

Returns

nothing

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "toggleimprovedplayerblips" )
	{
		ToggleImprovedPlayerBlips( true );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: World settings

Categories: Server functions | World settings