[URGENT] I don't see anyone's NameTag when i TP to him
#1

I DONT EVENT WEAR A MASK I DONT KNOW WHERE THIS BUG CAME FROM
pawn Код:
if(strcmp(cmd, "/fbimask", true) == 0)
    {
        if(PlayerInfo[playerid][pMember] != 2)
        {
            SendClientMessage(playerid, COLOR_GREY, "   You are not authorized to use that command !");
            return 1;
        }
        if(PlayerInfo[playerid][pRank] < 3)
        {
            SendClientMessage(playerid, COLOR_GREY, "   You are not authorized to use that command !");
            return 1;
        }
        if(PlayerInfo[playerid][pMask] == 0)
        {
            PlayerInfo[playerid][pMask] = 1;
            foreach (Player, i)
            {
                ShowPlayerNameTagForPlayer(i, playerid, 0);
            }
            strmid(sendername, PlayerRPName(playerid), 0, MAX_PLAYER_NAME);
            format(string, sizeof(string), "* %s has put a mask on.", sendername);
            ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        }
        else if(PlayerInfo[playerid][pMask] == 1)
        {
            foreach (Player, i)
            {
                if(IsPlayerConnected(i))
                {
                    ShowPlayerNameTagForPlayer(i, playerid, 1);
                }
            }
            PlayerInfo[playerid][pMask] = 0;
            strmid(sendername, PlayerRPName(playerid), 0, MAX_PLAYER_NAME);
            format(string, sizeof(string), "* %s has put their mask away.", sendername);
            ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        }
    }
please find the problem and help me out
When an Admin TP's to me he can't see my name lol i am not wearing any mask
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)