Help me please.
#7

pawn Код:
command(mask, playerid, params[])
{
    if((g_fMask[playerid] = !g_fMask[playerid]))
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
            ShowPlayerNameTagForPlayer(i, playerid, 0);
        SendClientMessage(playerid, PURPLE, "You have put on a mask." );
    } else {
        for(new i = 0; i < MAX_PLAYERS; i++)
            ShowPlayerNameTagForPlayer(i, playerid, 1);
        SendClientMessage(playerid, PURPLE, "You have taken the mask off." );
    }
    return 1;
}
Other bit of the script if it helps
Reply


Messages In This Thread
Help me please. - by Vero - 20.02.2011, 20:30
Re: Help me please. - by sansko - 20.02.2011, 20:33
Re: Help me please. - by Vero - 20.02.2011, 20:38
Re: Help me please. - by sansko - 20.02.2011, 20:41
Re: Help me please. - by Vero - 20.02.2011, 20:43
Re: Help me please. - by MadeMan - 20.02.2011, 20:44
Re: Help me please. - by Vero - 20.02.2011, 20:46
Re: Help me please. - by Vero - 20.02.2011, 20:48

Forum Jump:


Users browsing this thread: 3 Guest(s)