Anti-TDM?
#9

Quote:
Originally Posted by 101
Посмотреть сообщение
I'm kind of confused now >.<
Код:
public OnPlayerSpawn(playerid)
{
    // Set a player's team to 4 when they spawn
    SetPlayerTeam(playerid, 4);
    return 1;
}
and if you want to set the team numbers to a limit, let's say 18 do this:

Код:
public OnGameModeInit( )
{
    // We use 18 teams in this use Team-Deathmatch mode, define it;
    SetTeamCount( 18 );
    return 1;
}
Quote:

Note: Players on the same team can not kill each other unless they use a knife.

Reply


Messages In This Thread
Anti-TDM? - by 101 - 26.02.2011, 19:32
Re: Anti-TDM? - by Libra_PL - 26.02.2011, 19:35
Re: Anti-TDM? - by MadeMan - 26.02.2011, 20:00
Re: Anti-TDM? - by 101 - 27.02.2011, 00:17
Re: Anti-TDM? - by marinov - 27.02.2011, 00:42
Re: Anti-TDM? - by zSuYaNw - 27.02.2011, 01:05
Re: Anti-TDM? - by Memoryz - 27.02.2011, 01:38
Re: Anti-TDM? - by 101 - 27.02.2011, 14:16
Re: Anti-TDM? - by Master_Gangster - 27.02.2011, 14:44
Re: Anti-TDM? - by 101 - 27.02.2011, 15:21

Forum Jump:


Users browsing this thread: 5 Guest(s)