Players colors
#1

Hello,

Does anyone know how to remove those markers on the players online which can show you where the player at on the minimap and also colors his name on tab list.

Thanks
Reply
#2

You can disable player markers by using ShowPlayerMarkers() in OnGameModeInit().

pawn Код:
ShowPlayerMarkers(0);
You can also set player names to white by using the SetPlayerColor() function when a player connects (in OnPlayerConnect), to white:

pawn Код:
SetPlayerColor(playerid, 0xFFFFFFAA);
Reply
#3

Quote:
Originally Posted by Calgon
Посмотреть сообщение
You can disable player markers by using ShowPlayerMarkers in OnGameModeInit.

pawn Код:
ShowPlayerMarkers(0);
You can also set player names to white by using the SetPlayerColor() function when a player connects, to white:

pawn Код:
SetPlayerColor(playerid, 0xFFFFFFAA);

Oh, thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)