SA-MP Forums Archive
Players colors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Players colors (/showthread.php?tid=296198)



Players colors - moadi - 10.11.2011

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


Re: Players colors - Calgon - 10.11.2011

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);



Re: Players colors - moadi - 10.11.2011

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