SA-MP Forums Archive
Can"T see players on the mini map - 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: Can"T see players on the mini map (/showthread.php?tid=455547)



Can"T see players on the mini map - l1lwayn3 - 02.08.2013

I can"t see player on the map, i"ve tried with ShowPlayerMarkers(1) under OnGameModeInIt but still nothing.

If you know how to make it, please reply.


Re: Can"T see players on the mini map - appleomax - 02.08.2013

Copy and paste few lines where you placed your ShowPlayerMarkers(1);


Re: Can"T see players on the mini map - l1lwayn3 - 02.08.2013

Quote:

//------------------------------------------------------------------------------------------------------
public OnGameModeInit()

{


new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
for(new c=0;c<CAR_AMOUNT;c++)
{

where should i add ShowPlayerMarkers(1); and the lines?


Re: Can"T see players on the mini map - appleomax - 02.08.2013

Код:
public OnGameModeInit(){
ShowPlayerMarkers(1);



Re: Can"T see players on the mini map - l1lwayn3 - 02.08.2013

Quote:
Originally Posted by appleomax
Посмотреть сообщение
Код:
public OnGameModeInit(){
ShowPlayerMarkers(1);
still not work


Re: Can"T see players on the mini map - Konstantinos - 02.08.2013

You cannot see yourself in the minimap, I'm just saying..

Anyways, use the function above in OnGameModeInit. Make sure you do not use LimitPlayerMarkerRadius or LimitGlobalChatRadius (they may affect it) and last the the colors' transparency (Alpha values (transparency)).


Re: Can"T see players on the mini map - l1lwayn3 - 02.08.2013

Quote:

and last the the colors' transparency (Alpha values (transparency)).

where i must change the colors?


Re: Can"T see players on the mini map - dominik523 - 02.08.2013

last two characters in your color code are transparency, so it would be like this:
This is normal color: 00ffcb
and adding FF in the color will set transparency to 100%
00ffcbFF


Re: Can"T see players on the mini map - l1lwayn3 - 02.08.2013

Quote:

last two characters in your color code are transparency, so it would be like this:
This is normal color: 00ffcb
and adding FF in the color will set transparency to 100%
00ffcbFF

ok, but the problem is that i can"t find the players color in the gm


Re: Can"T see players on the mini map - DeMoX - 02.08.2013

You probably set a player color to 00 on alpha channel

Код:
12: Red channel
34: Green channel
56: Blue channel
76: Alpha channel
0x12345678