SA-MP Forums Archive
Color problem - 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: Color problem (/showthread.php?tid=443730)



Color problem - Nick.D - 13.06.2013

So, I have a /color command which lets players set their own RGB color for their name. That works fine and the color gets saved to a MySQL table with no problems. Then when a player logs in, the color is loaded perfectly well and set with SetPlayerColor. The only problem is the players' map markers aren't showing anymore. Pls help?


Re: Color problem - TheSnaKe - 13.06.2013

You mean the mini map?


Re: Color problem - Nick.D - 13.06.2013

Quote:
Originally Posted by TheSnaKe
Посмотреть сообщение
You mean the mini map?
Yes.


Re: Color problem - feartonyb - 13.06.2013

Put in OnGameModeInit:

ShowPlayerMarkers(1);


Re: Color problem - Nick.D - 13.06.2013

Quote:
Originally Posted by feartonyb
Посмотреть сообщение
Put in OnGameModeInit:

ShowPlayerMarkers(1);
I've already tried that, and everything else to do with showing markers, but it doesn't work.


AW: Color problem - BigETI - 13.06.2013

The alpha channel has to be set to 0xFF (255), to disable the transparency and invisibility of the player markers.


Re: AW: Color problem - Nick.D - 13.06.2013

Quote:
Originally Posted by BigETI
Посмотреть сообщение
The alpha channel has to be set to 0xFF (255), to disable the transparency and invisibility of the player markers.
Okay, and could you please tell me how to do this?