14.11.2012, 17:56
Hi, I wanted to make the playermarkers for the npcs in my server invisible by doing this:
But they are still visible on the minimap, please help me!
pawn Код:
forward ShowNPCMarker (playerid);
public ShowNPCMarker(playerid)
{
for(new i=0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
if(IsPlayerNPC(playerid))
{
SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFF00 );
}
}
}
}