Team deathmatch question. -
I have a question, I want specific classes to be assigned to the correct team ( #define TEAM_LAW & #define TEAM_MAFIA )
Код:
// TEAM COLOR SET-UP
SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_MAFIA)
{
SetPlayerColor(playerid, TEAM_MAFIA_COLOR);
}
else if (gTeam[playerid] == TEAM_LAW)
{
SetPlayerColor(playerid, TEAM_LAW_COLOR);
}
}
// END OF TEAM COLOR SET-UP <---->
Код:
// MAFIA SKINS <---->
AddPlayerClass(126, 1958.3783, 1343.1572, 15.3746, 269.1425,0, 0, 0, 0, 0, 0); // Blue Jacket & Golden Necklace
AddPlayerClass(127, 1958.3783, 1343.1572, 15.3746, 269.1425,0, 0, 0, 0, 0, 0); // Brown Jacket
AddPlayerClass(112, 1958.3783, 1343.1572, 15.3746, 269.1425,0, 0, 0, 0, 0, 0); // Bald guy