Need help with TDM
#1

Hello, I am working on my TDM server, and I wanted to make, that team members can't kill each other. is it possible?

P.s. can somebody explain this:
pawn Код:
stock team()
{
    new count;

    for(new i; i < MAX_PLAYERS; i++)
    {
        if(team[i] == 1) count ++;
    }
    return count;
}
My friend told me, that this is player count... e.g. If in Team 1 are 2 players, in Team 2 is 1 player, in Team 1 can't play 3rd player, he gets an message which sayies that he must play in other team, to make Team balanced... Please help me with these things.
Reply


Messages In This Thread
Need help with TDM - by AiVAMAN - 17.05.2009, 08:06
Re: Need help with TDM - by [NL]Bank - 17.05.2009, 14:56
Re: Need help with TDM - by Correlli - 17.05.2009, 15:13
Re: Need help with TDM - by AiVAMAN - 17.05.2009, 16:19
Re: Need help with TDM - by Weirdosport - 17.05.2009, 17:05
Re: Need help with TDM - by AiVAMAN - 18.05.2009, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)