on problem 1:
Code:
GangZoneShowForPlayer(playerid, ATEAMZone, COLOR_CYAN);
and:
Code:
if(gTeam[playerid] == TEAM_ATEAM)
{
SetPlayerColor(playerid,COLOR_CYAN);
}
In problem 2
Code:
AddPlayerClass(73,157.1407,1903.2020,18.6546,275.1121,22,700,31,700,32,700); //(60)ATEAM Male
AddPlayerClass(193,157.1407,1903.2020,18.6546,275.1121,22,700,31,700,32,700); //(61) ATEAM Female
and:
Code:
if(gTeam[playerid] == TEAM_ATEAM && GetPlayerSkin(playerid) == 73)
{
ShowPlayerDialog(playerid,DIALOG_SKILLINFO,DIALOG_STYLE_MSGBOX,"{0000FF}ATEAM'S INFORMATION:","{FFFFFF}Commands: Type /commands for a list of ATEAM'S COMMANDS.\n{FFFFFF}Job: Your job is to run away from the National Guard/Army.\n{FFFFFF}Player Colours: For a list of what the player colors mean, type /pc.\n{FFFFFF}Don't forget to read the /rules of Zone's San Fierro C'N'R!","Ok","Cancel");
GivePlayerWeapon(playerid,22,700);
GivePlayerWeapon(playerid,31,700);
GivePlayerWeapon(playerid,35,10);
SetPlayerPos(playerid,-157.1407,1903.2020,18.6546);
SetPlayerFacingAngle(playerid,275.1121);
SetCameraBehindPlayer(playerid);
HasATEAMRadio[playerid] =1;
}
if(gTeam[playerid] == TEAM_ATEAM && GetPlayerSkin(playerid) == 193)
{
ShowPlayerDialog(playerid,DIALOG_SKILLINFO,DIALOG_STYLE_MSGBOX,"{0000FF}ATEAM'S INFORMATION:","{FFFFFF}Commands: Type /commands for a list of ATEAM'S COMMANDS.\n{FFFFFF}Job: Your job is to run away from the National Guard/Army.\n{FFFFFF}Player Colours: For a list of what the player colors mean, type /pc.\n{FFFFFF}Don't forget to read the /rules of Zone's San Fierro C'N'R!","Ok","Cancel");
GivePlayerWeapon(playerid,22,700);
GivePlayerWeapon(playerid,31,700);
GivePlayerWeapon(playerid,35,10);
SetPlayerPos(playerid,-157.1407,1903.2020,18.6546);
SetPlayerFacingAngle(playerid,275.1121);
SetCameraBehindPlayer(playerid);
HasATEAMRadio[playerid] =1;
}
in problem 3 i dunno it acts like a civillian it shows the skill job it should not do that.