Mask bug
#1

When someone uses /maskon his name is hidden so other players doesn't see who he is. But when ever he or someone else changes interior or virtual world they start to see his name again. How can I prevent that?
Reply
#2

I made this code.
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[i][pMaskuse] == 1)
        {
            ShowPlayerNameTagForPlayer(i, i, 0);
        }
    }
}
2 questions. Will it work and where should I put it for best effect?
Reply
#3

Check OnPlayerStreamIn, you must hide the name when player streams for another player.
Reply
#4

I don't have any OnPlayerStreamIn
Reply
#5

pawn Код:
public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}
Reply
#6

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)