Invisible on radar not working anymore
#8

I was searching for a gentle solution on that, ended up with this function:
http://dracoblue.net/dev/toggle-mapi...-a-player/138/

pawn Код:
stock togglePlayerMapIconVisibility(playerid,bool:visible){
SetPlayerColor(playerid, (GetPlayerColor(playerid) | 0xFF) - (visible ? 0x00 : 0xFF));
}
Does not need to store any colors, just does it's work by some bitwise-or .

- Draco
Reply


Messages In This Thread
Invisible on radar not working anymore - by Robbin237 - 25.04.2009, 11:50
Re: Invisible on radar not working anymore - by Robbin237 - 27.04.2009, 09:12
Re: Invisible on radar not working anymore - by maij - 27.04.2009, 10:31
Re: Invisible on radar not working anymore - by CracK - 27.04.2009, 11:50
Re: Invisible on radar not working anymore - by Donny_k - 27.04.2009, 13:53
Re: Invisible on radar not working anymore - by CracK - 27.04.2009, 15:05
Re: Invisible on radar not working anymore - by Donny_k - 27.04.2009, 15:49
Re: Invisible on radar not working anymore - by DracoBlue - 03.06.2009, 16:58

Forum Jump:


Users browsing this thread: 1 Guest(s)