Mask is bugged O_O
#4

EDIT: you mean like this?

pawn Код:
if(strcmp(cmd, "/mask", true) == 0)
    {
        if(PlayerInfo[playerid][pMember] != 8)
        {
            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); // Hides the nametag
            }
            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)
            {
                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);
        }
    }
Reply


Messages In This Thread
Mask is bugged O_O - by D3vin - 05.05.2014, 18:56
Re: Mask is bugged O_O - by GeasyW - 05.05.2014, 18:59
Re: Mask is bugged O_O - by Konstantinos - 05.05.2014, 18:59
Re : Mask is bugged O_O - by D3vin - 05.05.2014, 19:02
Re : Mask is bugged O_O - by D3vin - 05.05.2014, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)