SA-MP Forums Archive
How I can disable people with color. - 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 I can disable people with color. (/showthread.php?tid=480064)



How I can disable people with color. - DemME - 08.12.2013

How I can disable the coloured player to be showen at the minimap, I'm developing a Roleplay server, and I just wanted to do when he types /aduty, it will set his color as specific one, I successed but It shows a colored square within the minimap, how I can disable it, thanks for the helpers.


Re: How I can disable people with color. - Loot - 08.12.2013

In your /aduty, use the color below:
Basically, use two zeros at the end instead of everything else to hide the color at the minimap. (tutorial is at wiki somewhere)
pawn Код:
SetPlayerColor(playerid, 0xFFFFFF00); // white color



Re: How I can disable people with color. - erminpr0 - 08.12.2013

You wan't just to set color (TAB), and not to show in minimap?

You can do like Loot said you, setting alpha value to 00 so it would be invisible, but if you want to disable ALL markers

pawn Код:
public OnGameModeInit()
{
    ShowPlayerMarkers(0);
}