Zum Hauptinhalt springen

GetPlayerMarkerForPlayer

warnung

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

Description

Get the colour of a player's nametag and radar blip for another player.

NameDescription
playeridThe player that can see the player's changed blip/nametag colour
targetidThe player whose colour has been changed.

Returns

The target player's nametag and radar blip colour.

Examples

// Make player 42 see player 1 as a red marker
SetPlayerMarkerForPlayer(42, 1, 0xFF0000FF);

new markerColour = GetPlayerMarkerForPlayer(42, 1);
// markerColour = 0xFF0000FF