Scripting/Server/Functions/SetPlayerBlipStyle

(v0.5-beta+) Chooses how the radar shows the other players, with the constants BLIPSTYLE_DEFAULT (0, the stock coloured squares in the player colours), BLIPSTYLE_IMPROVED (1, the circles of ToggleImprovedPlayerBlips) and BLIPSTYLE_CENTRE (2, the radar_centre arrow of the HUD - the picture of your own blip - tinted with the player colour and rotated to the direction that player (or his car) faces; the stock radar never rotates other blips). With one argument it applies to every player, including those who join later; with a player it applies to that player only (also player.BlipStyle). PC and Android; clients older than 0.5-beta draw the circles for style 2.

Syntax

SetPlayerBlipStyle(style)
(player|null, style)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "setplayerblipstyle" )
	{
		SetPlayerBlipStyle( 0 );
	}
}

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

Section: World settings

Categories: Server functions | World settings