SetPlayerMarkerForPlayer
#1

Is this function supposed to change the colour of the player's name tag too?

I'm trying to make a player's marker white while keeping the name tag the same colour but when ever I use this function the name tag also goes white.
Reply
#2

SetPlayerMarkerForPlayer sets what the function suggests - the marker (map blip/icon). SetPlayerColor sets the nametag AND blip.

If you use SetPlayerMarkerForPlayer then SetPlayerColor with two different colors, the blip will be the color of the SetPlayerColor color as it overwrites it.
Reply
#3

I'm using the function in a command for testing purposes so SetPlayerColor is not being used afterwards.
Reply
#4

Seems you were right, SetPlayerMarkerForPlayer DOES in fact change the nametag colour also. I will add a note on the wiki page. There's no way to get around this apart from disabling nametags and using custom ones using 3D text labels.
Reply
#5

I didn't think I was doing anything wrong. Maybe the developers can look into this.
Thanks for your time anyway, appreciated!
Reply
#6

Don't hold your breath. There are major problems that haven't been fixed for years; I doubt this small thing will ever be 'fixed'*.

* No disrespect to Kalcor or any other developers intended.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)