SA-MP Forums Archive
How to make a white blip on the minimap for everybody? - 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: How to make a white blip on the minimap for everybody? (/showthread.php?tid=452878)



How to make a white blip on the minimap for everybody? - Grooty - 23.07.2013

I want everybody to be marked on the minimap with a white blip.
How would I do that?


Re: How to make a white blip on the minimap for everybody? - PT - 23.07.2013

Using this function SetPlayerMarkerForPlayer

i think is this:
pawn Код:
// OnPlayerConnect
 SetPlayerMarkerForPlayer(playerid, 1, 0xFFFFFF00);



Re: How to make a white blip on the minimap for everybody? - Grooty - 23.07.2013

Quote:
Originally Posted by PT
Посмотреть сообщение
Using this function SetPlayerMarkerForPlayer

i think is this:
pawn Код:
// OnPlayerConnect
 SetPlayerMarkerForPlayer(playerid, 1, 0xFFFFFF00);
But isn't that just making the playerid see ID 1 on the minimap?


Re: How to make a white blip on the minimap for everybody? - PT - 23.07.2013

Yes, sorry i'm soo idiot, it's this: SetPlayerColor

pawn Код:
// OnPlayerConnect
SetPlayerColor(playerid, 0xFFFF00AA);
sorry my error...


Re: How to make a white blip on the minimap for everybody? - Grooty - 23.07.2013

Quote:
Originally Posted by PT
Посмотреть сообщение
Yes, sorry i'm soo idiot, it's this: SetPlayerColor

pawn Код:
// OnPlayerConnect
SetPlayerColor(playerid, 0xFFFF00AA);
sorry my error...
Still didn't work :/


Re: How to make a white blip on the minimap for everybody? - PT - 23.07.2013

Quote:
Originally Posted by PT
Посмотреть сообщение
Yes, sorry i'm soo idiot, it's this: SetPlayerColor

pawn Код:
// OnPlayerConnect
SetPlayerColor(playerid, 0xFFFF00AA);
sorry my error...
i wrong the color here

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