16.11.2012, 09:56
That's not the right way to make the markers invisible on the minimap.. instead of that add this:
This is a snippet taken from 0Hide, gratz to Zh3r0 for his script : https://sampforum.blast.hk/showthread.php?tid=262414
PHP код:
forward ShowNPCMarker ();
public ShowNPCMarker()
{
for(new i=0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i) && IsPlayerNPC(i))
{
SetPlayerColor(i, GetPlayerColor(i) - (GetPlayerColor(i) & 0x000000FF) - 255);
}
}
}