I need some help with peace of code please
#7

pawn Код:
ReturnPlayersInTeam(teamid)
{
    new t;
    for(new a;a<MAX_PLAYERS,IsPlayerConnected(a);a++)
    {
        if(!IsPlayerNPC(a))
        {
            if(gTeam[a]==teamid)t++;
            return t;
        }
    }
}

Sorry, just woke up can't get things right, this should totaly work lol.
Reply


Messages In This Thread
I need some help with peace of code please - by DaneAMattie - 14.05.2010, 07:42
Re: I need some help with peace of code please - by 0ne - 14.05.2010, 07:52
Re: I need some help with peace of code please - by DaneAMattie - 14.05.2010, 07:58
Re: I need some help with peace of code please - by 0ne - 14.05.2010, 08:00
Re: I need some help with peace of code please - by DaneAMattie - 14.05.2010, 08:02
Re: I need some help with peace of code please - by DaneAMattie - 14.05.2010, 08:03
Re: I need some help with peace of code please - by 0ne - 14.05.2010, 08:05
Re: I need some help with peace of code please - by DaneAMattie - 14.05.2010, 08:07

Forum Jump:


Users browsing this thread: 3 Guest(s)