跳到主要內容

GetPlayerMarkerForPlayer

注意

此函式於 omp v1.1.0.2612 版本中新增,在更早的版本中無法使用!

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