Two chat lines, how to avoid this ?
#2

pawn Код:
public newbie_sendMsg(color,const string[])
{
    for(new i = MIN_PLAYERID; i < MAX_PLAYERS_CURRENT+1; i++)
    {
        if(IsPlayerConnected(i))
        {
        if (pack_isAdmin(i,1) && PlayerVip[i][VipLevel] == 4 && PlayerInfo[i][pLevel] <= 18)
                return SendClientMessage(i, color, string);
                SendClientMessage(i, color, string);
        if (pack_isAdmin(i,1) && PlayerVip[i][VipLevel] == 4)
                return SendClientMessage(i, color, string);
        if (PlayerVip[i][VipLevel] == 4 && PlayerInfo[i][pLevel] <= 18)
                return SendClientMessage(i, color, string);
        if (pack_isAdmin(i,1) && PlayerInfo[i][pLevel] <= 18)
                return
            if (pack_isAdmin(i,1) || PlayerVip[i][VipLevel] == 4 || PlayerInfo[i][pLevel] <= 18)
                {SendClientMessage(i, color, string);}
        }
    }
    return 1;
}
Reply


Messages In This Thread
Two chat lines, how to avoid this ? - by Kethrios - 24.01.2013, 14:33
Re: Two chat lines, how to avoid this ? - by DaRk_RaiN - 24.01.2013, 14:43
Re: Two chat lines, how to avoid this ? - by LarzI - 24.01.2013, 14:58
Re : Two chat lines, how to avoid this ? - by Kethrios - 24.01.2013, 15:11
Re: Two chat lines, how to avoid this ? - by LarzI - 24.01.2013, 15:21
Re: Two chat lines, how to avoid this ? - by DaRk_RaiN - 24.01.2013, 15:23
Re : Re: Two chat lines, how to avoid this ? - by Kethrios - 24.01.2013, 15:44
Re: Re : Re: Two chat lines, how to avoid this ? - by LarzI - 24.01.2013, 15:46
Re : Two chat lines, how to avoid this ? - by Kethrios - 24.01.2013, 16:12
Re : Two chat lines, how to avoid this ? - by Kethrios - 25.01.2013, 07:40

Forum Jump:


Users browsing this thread: 1 Guest(s)