How to make only 1 player to be visible on the all 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: How to make only 1 player to be visible on the all map (
/showthread.php?tid=491084)
How to make only 1 player to be visible on the all map -
barts - 29.01.2014
I want only 1 player to be shown at the map.How to do it
Re: How to make only 1 player to be visible on the all map -
Vince - 29.01.2014
Use SetPlayerColor and a fully transparent color.
To make a color visible:
pawn Код:
new color = GetPlayerColor(playerid);
color |= 0xFF;
To make a color invisible:
pawn Код:
new color = GetPlayerColor(playerid);
color &= ~0xFF;