Hide Player Map Icon
#1

Hello Guys,

I'm wondering how i can hide a player's map icon, so that others can't see that player.
I already tried something but that didn't worked...

Best Regards,
Juuleman
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        SetPlayerMarkerForPlayer(i,playerid,00);
    }
00 = Transpartent (invisible) according to the Wiki
Reply
#3

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        SetPlayerMarkerForPlayer(i,playerid,00);
    }
00 = Transpartent (invisible) according to the Wiki
Yeah, i tried this but other players still see mee with my old color...
Reply
#4

SetPlayerMarkerForPlayer(i,playerid,0xFFFFFF00);

First two F's = Red Channel
Second two F's = Green Channel
Third two F's = Blue channel

The 0's is where you put the alpha.

These values are base 16 from 0-F

Try using SetPlayerColor(playerid, 0xFFFFFFFF); as well?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)