warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
GetPlayerMarkerForPlayer
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Get the colour of a player's nametag and radar blip for another player.
Name | Description |
---|---|
playerid | The player that can see the player's changed blip/nametag colour |
targetid | The 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
Related Functions
- ShowPlayerMarkers: Decide if the server should show markers on the radar.
- LimitPlayerMarkerRadius: Limit the player marker radius.
- SetPlayerColor: Set a player's color.
- ShowPlayerNameTagForPlayer: Show or hide a nametag for a certain player.
- SetPlayerMarkerForPlayer: Set a player's marker for a specific player.