[Ajuda] VIP
#4

pawn Код:
new aux[MAX_PLAYERS];
Quote:
Originally Posted by ' Bigode
Посмотреть сообщение
Ta ai
PHP код:
public SendVipMessage(colorstring[])
{
    for(new 
0<= HighestIDi++)
        if(
IsPlayerConnected(i))
            if(
Player[i][pVIP] > || Player[i][pAdmin] > 0)
                if(
ChatVIP[i] == 1)
                    
SendClientMessage(icolorstring);

dafuq, que cуdigo tenso.

pawn Код:
public SendVIPMessage(color, string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(!aux[i])
            {
            if(PlayerInfo[i][pVIP] >= 1 || PlayerInfo[i][pAdmin]>= 1)
            {
                SendClientMessage(i, color, string);
                }
            }
        }
    }
}
Reply


Messages In This Thread
[Ajuda] VIP - by ' Bigode - 11.06.2012, 09:29
Re: [Ajuda] VIP - by Macintosh - 11.06.2012, 10:34
Re: [Ajuda] VIP - by ' Bigode - 11.06.2012, 10:49
Re: [Ajuda] VIP - by Macintosh - 11.06.2012, 11:13
Re: [Ajuda] VIP - by blacktrindade - 11.06.2012, 11:17
Re: [Ajuda] VIP - by ' Bigode - 11.06.2012, 11:19
Re: [Ajuda] VIP - by blacktrindade - 11.06.2012, 11:21
Re: [Ajuda] VIP - by Macintosh - 11.06.2012, 11:22
Re: [Ajuda] VIP - by blacktrindade - 11.06.2012, 11:24
Re: [Ajuda] VIP - by Don_Speed - 11.06.2012, 11:33

Forum Jump:


Users browsing this thread: 3 Guest(s)