/mask Problem.
#1

pawn Код:
command(mask, playerid, params[])
{
    new number = (100 + random(899)), string[128];
    masknumber[playerid] = number;
    if(Player[playerid][Masked] == 0)
    {
        if(Player[playerid][Level] >= 6)
        {
            for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, false);
            format(string, sizeof(string), "Stranger_%d", masknumber[playerid]);
            Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 3.0);
            ApplyAnimation(playerid, "goggles", "goggles_put_on", 4.1, 0, 1, 1, 0, 1, 1);
            Player[playerid][Masked] = 1;
            format(string, sizeof(string), "* Stranger_%d puts on their mask *", masknumber[playerid]);
            NearByMessage(playerid, PINK, string);
        }
        else return SendClientMessage(playerid, GREY, "You must be level 6+ to use a Mask.");
    }
    else return SendClientMessage(playerid, GREY, "You are already masked.");
    return 1;
}
The Attach3DTextLabelToPlayer Won't show up on the server, It's because my include are outdated or?
Reply


Messages In This Thread
/mask Problem. - by Henry_Martinez - 27.06.2012, 01:35
Re: /mask Problem. - by Kindred - 27.06.2012, 01:40
Re: /mask Problem. - by Henry_Martinez - 27.06.2012, 01:45
Re: /mask Problem. - by [A]ndrei - 27.06.2012, 01:47
Re: /mask Problem. - by Kindred - 27.06.2012, 01:52

Forum Jump:


Users browsing this thread: 2 Guest(s)