TDM teams
#3

Quote:
Originally Posted by (*|Flake|*)
Посмотреть сообщение
pawn Код:
new YourTeamNameSkins[] = {
    8,
    42,
    6
};

//OnplayerSpawn
switch(gTeam[playerid])
             {
                  case TEAM_YourTeamName:
                  {
                       
                        SetPlayerSkin(playerid, YourTeamNameSkin[random(3)]);
     return 1;

}

//rest of your onplayerspawn code/other teams

//Sorry for the terrible indentations, forums broke it
Just took a little of my own code, it should give you a basic idea of what to do.
That would work but the GameModeText section where you see that names of the teams above the player's heads would not be updated.
Reply


Messages In This Thread
TDM teams - by Wizardking - 29.01.2014, 08:15
Re: TDM teams - by Flake. - 29.01.2014, 08:34
Re: TDM teams - by Wizardking - 29.01.2014, 09:24
Re: TDM teams - by Flake. - 29.01.2014, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)