How to set a team limit on my faction
#5

Quote:
Originally Posted by //exora
Very basic .. Heres an example, make sure you take away 1 etc when disconnecting or whenever the player changes his team.

pawn Код:
new TeamCount[ 10 ]; // Edit the size depending on how much teams you have

public OnPlayerSpawn(playerid)
{
    TeamCount[ gTeam[ playerid ] ]++;
}
i did not understand when you said "make sure you take away 1 etc when disconnecting or whenever the player changes his team."

I've never seen how to do this before nor do i no how lol, Can you explain a bit more
Reply


Messages In This Thread
How to set a team limit on my faction - by ruckfules99 - 17.02.2010, 00:59
Re: How to set a team limit on my faction - by ruckfules99 - 17.02.2010, 02:51
Re: How to set a team limit on my faction - by ruckfules99 - 17.02.2010, 19:22
Re: How to set a team limit on my faction - by woot - 17.02.2010, 22:03
Re: How to set a team limit on my faction - by ruckfules99 - 17.02.2010, 22:11
Re: How to set a team limit on my faction - by woot - 17.02.2010, 22:17
Re: How to set a team limit on my faction - by ruckfules99 - 17.02.2010, 22:29
Re: How to set a team limit on my faction - by WSD - 17.02.2010, 23:18
Re: How to set a team limit on my faction - by ruckfules99 - 17.02.2010, 23:27
Re: How to set a team limit on my faction - by WSD - 18.02.2010, 00:11

Forum Jump:


Users browsing this thread: 2 Guest(s)