06.08.2016, 12:16
everything working perfect.. but when i use /st to change my team..all members forced to the team's color they i choose..
?
any solution ?
?
any solution ?
PHP Code:
////////////////////////
stock c(playerid)
{
gTeam[playerid] = TEAM_USA;
SCM(playerid,-1,"{00FF00}You have Chosen Team USA {FF0000}Now Click on any class\n{BABABA} If you wanna change team just click on any other skin.");
return 0;
}
stock d(playerid)
{
gTeam[playerid] = TEAM_EURASIA;
SCM(playerid,-1,"{00FF00}You have Chosen Team EURASIA {FF0000}Now Click on any class\n{BABABA} If you wanna change team just click on any other skin.");
return 0;
}
stock e(playerid)
{
gTeam[playerid] = TEAM_ARAB;
SCM(playerid,-1,"{00FF00}You have Chosen ARAB {FF0000}Now Click on any class\n{BABABA} If you wanna change team just click on any other skin.");
return 0;
}
stock k(playerid)
{
gTeam[playerid] = TEAM_AUS;
SCM(playerid,-1,"{00FF00}You have Chosen Team AUSTRAILLIA {FF0000}Now Click on any class\n{BABABA} If you wanna change team just click on any other skin.");
return 0;
}
stock g(playerid)
{
gTeam[playerid] = TEAM_SOVIET;
SCM(playerid,-1,"{00FF00}You have Chosen Team SOVIET {FF0000}Now Click on any class\n{BABABA} If you wanna change team just click on any other skin.");
return 0;
}
stock o(playerid)
{
gTeam[playerid] = TEAM_MERC;
SCM(playerid,-1,"{00FF00}You have Chosen Team Mercenary {FF0000}Now Click on any class\n{BABABA} If you wanna change team just click on any other skin.");
return 0;
}
stock NotifyAboutClickedSkin(playerid,teamid)
{
DeletePVar(playerid, "HasChosenTeam");
SetPVarInt(playerid, "HasChosenTeam",1);
gTeam[playerid] = teamid;
new str[250];
format(str,sizeof(str),"{00FF00}You have chosen you team {FFFF00}%s {FF0000}Now Click on any class \n{BABABA} If you wanna change team just click on any other skin.",GetTeamName(playerid));
format(str,sizeof(str),"{00FF00}You have chosen you team {FFFF00}%s {FF0000}Now Click on any class \n{BABABA} If you wanna change team just click on any other skin.",GetTeamName(playerid));
SCM(playerid,-1,str);
return 1;
}
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == PlayerText:INVALID_TEXT_DRAW)return false;
if(playertextid == ChooseClass[playerid][11])return NotifyAboutClickedSkin(playerid,TEAM_USA);//you can change it as you want
else if(playertextid == ChooseClass[playerid][12])return NotifyAboutClickedSkin(playerid,TEAM_EURASIA);//you can change it as you want
else if(playertextid == ChooseClass[playerid][13])return NotifyAboutClickedSkin(playerid,TEAM_ARAB);//you can change it as you want
else if(playertextid == ChooseClass[playerid][14])return NotifyAboutClickedSkin(playerid,TEAM_AUS);//you can change it as you want
else if(playertextid == ChooseClass[playerid][15])return NotifyAboutClickedSkin(playerid,TEAM_SOVIET);//you can change it as you want
else if(playertextid == ChooseClass[playerid][16])return NotifyAboutClickedSkin(playerid,TEAM_MERC);//you can change it as you want
else if(GetPVarInt(playerid, "HasChosenTeam")!=1)return SCM(playerid,-1,"{FF0000}You will have to Choose your Team first.");
{
if(playertextid == ChooseClass[playerid][1])return AssignPlayerClass(playerid,Assault);
else if(playertextid == ChooseClass[playerid][0])return AssignPlayerClass(playerid,DONOR);
else if(playertextid == ChooseClass[playerid][2])return AssignPlayerClass(playerid,SNIPER);
else if(playertextid == ChooseClass[playerid][3])return AssignPlayerClass(playerid,PYRO);
else if(playertextid == ChooseClass[playerid][4])return AssignPlayerClass(playerid,ENGINEER);
else if(playertextid == ChooseClass[playerid][5])return AssignPlayerClass(playerid,SP);
else if(playertextid == ChooseClass[playerid][6])return AssignPlayerClass(playerid,SCOUT);
else if(playertextid == ChooseClass[playerid][7])return AssignPlayerClass(playerid,JET);
else if(playertextid == ChooseClass[playerid][8])return AssignPlayerClass(playerid,PILOT);
else if(playertextid == ChooseClass[playerid][9])return AssignPlayerClass(playerid,AG);
}
return 0;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == Text:INVALID_TEXT_DRAW)
{
DeletePVar(playerid, "HasChosenTeam");
return 1;
}
return 1;
}
stock LoadSelectionMenuTxDs(playerid)
{
SelectionMenu[playerid][0] = CreatePlayerTextDraw(playerid, 350.000000, 118.000000, "_");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][0], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][0], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][0], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][0], 0.500000, 2.400000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][0], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][0], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][0], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][0], 1);
PlayerTextDrawUseBox(playerid, SelectionMenu[playerid][0], 1);
PlayerTextDrawBoxColor(playerid, SelectionMenu[playerid][0], 102);
PlayerTextDrawTextSize(playerid, SelectionMenu[playerid][0], 0.000000, 293.000000);
SelectionMenu[playerid][1] = CreatePlayerTextDraw(playerid, 350.000000, 145.000000, "_");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][1], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][1], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][1], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][1], 0.500000, 28.800001);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][1], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][1], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][1], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][1], 1);
PlayerTextDrawUseBox(playerid, SelectionMenu[playerid][1], 1);
PlayerTextDrawBoxColor(playerid, SelectionMenu[playerid][1], 68);
PlayerTextDrawTextSize(playerid, SelectionMenu[playerid][1], 0.000000, 293.000000);
SelectionMenu[playerid][2] = CreatePlayerTextDraw(playerid, 350.000000, 410.000000, "_");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][2], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][2], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][2], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][2], 0.500000, 2.400000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][2], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][2], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][2], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][2], 1);
PlayerTextDrawUseBox(playerid, SelectionMenu[playerid][2], 1);
PlayerTextDrawBoxColor(playerid, SelectionMenu[playerid][2], 7798886);
PlayerTextDrawTextSize(playerid, SelectionMenu[playerid][2], 0.000000, 293.000000);
SelectionMenu[playerid][3] = CreatePlayerTextDraw(playerid, 350.000000, 116.000000, #ServerName);
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][3], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][3], -205);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][3], 3);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][3], 0.500000, 2.299998);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][3], 255);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][3], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][3], 1);
SelectionMenu[playerid][4] = CreatePlayerTextDraw(playerid, 350.000000, 409.000000, #ServerWebsite);
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][4], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][4], -16777182);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][4], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][4], 0.430000, 2.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][4], 255);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][4], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][4], 1);
SelectionMenu[playerid][5] = CreatePlayerTextDraw(playerid, 346.000000, 136.000000, "-");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][5], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][5], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][5], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][5], 23.809963, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][5], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][5], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][5], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][5], 1);
SelectionMenu[playerid][6] = CreatePlayerTextDraw(playerid, 346.000000, 401.000000, "-");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][6], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][6], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][6], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][6], 23.809963, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][6], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][6], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][6], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][6], 1);
SelectionMenu[playerid][7] = CreatePlayerTextDraw(playerid, 210.000000, 147.000000, " Directions~n~~r~~h~1. ~y~~h~Select your Team~w~ (Click on your desired skin)~n~~r~~h~2. ~y~~h~Choose your Class ~w~(Click on any of the list)");
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][7], 34);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][7], 2);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][7], 0.239999, 1.299999);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][7], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][7], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][7], 1);
SelectionMenu[playerid][8] = CreatePlayerTextDraw(playerid, 350.000000, 202.000000, "_");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][8], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][8], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][8], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][8], 0.500000, -0.099999);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][8], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][8], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][8], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][8], 1);
PlayerTextDrawUseBox(playerid, SelectionMenu[playerid][8], 1);
PlayerTextDrawBoxColor(playerid, SelectionMenu[playerid][8], 572662527);
PlayerTextDrawTextSize(playerid, SelectionMenu[playerid][8], 1.000000, 293.000000);
SelectionMenu[playerid][9] = CreatePlayerTextDraw(playerid, 406.000000, 206.000000, "_");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][9], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][9], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][9], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][9], 0.500000, 21.900007);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][9], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][9], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][9], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][9], 1);
PlayerTextDrawUseBox(playerid, SelectionMenu[playerid][9], 1);
PlayerTextDrawBoxColor(playerid, SelectionMenu[playerid][9], 572662527);
PlayerTextDrawTextSize(playerid, SelectionMenu[playerid][9], 1.000000, 0.000000);
SelectionMenu[playerid][10] = CreatePlayerTextDraw(playerid, 248.000000, 206.000000, "Team(Choose A Team) Choose a Class");
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][10], 17);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][10], 2);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][10], 0.209999, 1.200000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][10], -16776961);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][10], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][10], 1);
SelectionMenu[playerid][11] = CreatePlayerTextDraw(playerid, 350.000000, 223.000000, "_");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][11], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][11], 255);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][11], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][11], 0.500000, -0.099999);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][11], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][11], 0);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][11], 1);
PlayerTextDrawSetShadow(playerid, SelectionMenu[playerid][11], 1);
PlayerTextDrawUseBox(playerid, SelectionMenu[playerid][11], 1);
PlayerTextDrawBoxColor(playerid, SelectionMenu[playerid][11], 572662527);
PlayerTextDrawTextSize(playerid, SelectionMenu[playerid][11], 1.000000, 293.000000);
SelectionMenu[playerid][12] = CreatePlayerTextDraw(playerid, 247.000000, 300.000000,"~b~USA");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][12], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][12], 34);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][12], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][12], 0.159998, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][12], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][12], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][12], 1);
SelectionMenu[playerid][13] = CreatePlayerTextDraw(playerid, 306.000000, 300.000000, "~g~EURASIA");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][13], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][13], 34);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][13], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][13], 0.159997, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][13], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][13], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][13], 1);
SelectionMenu[playerid][14] = CreatePlayerTextDraw(playerid, 365.000000, 300.000000, "~y~ARAB");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][14], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][14], 34);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][14], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][14], 0.159997, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][14], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][14], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][14], 1);
SelectionMenu[playerid][15] = CreatePlayerTextDraw(playerid, 245.000000, 389.000000, "~p~AUSTRAILIA");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][15], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][15], 34);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][15], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][15], 0.159997, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][15], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][15], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][15], 1);
SelectionMenu[playerid][16] = CreatePlayerTextDraw(playerid, 306.000000, 389.000000, "~r~SOVIET");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][16], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][16], 34);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][16], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][16], 0.159997, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][16], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][16], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][16], 1);
SelectionMenu[playerid][17] = CreatePlayerTextDraw(playerid, 367.000000, 389.000000, "~w~MERCENARY");
PlayerTextDrawAlignment(playerid, SelectionMenu[playerid][17], 2);
PlayerTextDrawBackgroundColor(playerid, SelectionMenu[playerid][17], 34);
PlayerTextDrawFont(playerid, SelectionMenu[playerid][17], 1);
PlayerTextDrawLetterSize(playerid, SelectionMenu[playerid][17], 0.159997, 1.000000);
PlayerTextDrawColor(playerid, SelectionMenu[playerid][17], -1);
PlayerTextDrawSetOutline(playerid, SelectionMenu[playerid][17], 1);
PlayerTextDrawSetProportional(playerid, SelectionMenu[playerid][17], 1);
ChooseClass[playerid][1] = CreatePlayerTextDraw(playerid, 451.000000, 227.000000, "Assault");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][1], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][1], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][1], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][1], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][1], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][1], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][1], 1);
ChooseClass[playerid][2] = CreatePlayerTextDraw(playerid, 451.000000, 242.000000, "SNIPER");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][2], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][2], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][2], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][2], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][2], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][2], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][2], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][2], 1);
ChooseClass[playerid][3] = CreatePlayerTextDraw(playerid, 451.000000, 257.000000, "PYROMAN");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][3], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][3], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][3], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][3], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][3], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][3], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][3], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][3], 1);
ChooseClass[playerid][4] = CreatePlayerTextDraw(playerid, 451.000000, 271.000000, "ENGINEER");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][4], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][4], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][4], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][4], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][4], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][4], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][4], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][4], 1);
ChooseClass[playerid][5] = CreatePlayerTextDraw(playerid, 451.000000, 286.000000, "SUPPORT");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][5], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][5], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][5], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][5], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][5], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][5], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][5], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][5], 1);
ChooseClass[playerid][6] = CreatePlayerTextDraw(playerid, 451.000000, 301.000000, "SCOUT");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][6], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][6], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][6], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][6], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][6], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][6], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][6], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][6], 1);
ChooseClass[playerid][7] = CreatePlayerTextDraw(playerid, 451.000000, 315.000000, "JeTTROOPER");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][7], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][7], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][7], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][7], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][7], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][7], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][7], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][7], 1);
ChooseClass[playerid][8] = CreatePlayerTextDraw(playerid, 451.000000, 329.000000, "PILOT");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][8], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][8], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][8], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][8], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][8], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][8], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][8], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][8], 1);
ChooseClass[playerid][9] = CreatePlayerTextDraw(playerid, 451.000000, 342.000000, "SPY");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][9], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][9], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][9], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][9], 0.209997, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][9], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][9], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][9], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][9], 1);
ChooseClass[playerid][0] = CreatePlayerTextDraw(playerid, 451.000000, 356.000000, "DONORS CLASS");
PlayerTextDrawAlignment(playerid, ChooseClass[playerid][0], 2);
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][0], 34);
PlayerTextDrawFont(playerid, ChooseClass[playerid][0], 2);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][0], 0.209996, 1.200000);
PlayerTextDrawColor(playerid, ChooseClass[playerid][0], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][0], 1);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][0], 1);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][0], 1);
ChooseClass[playerid][11] = CreatePlayerTextDraw(playerid, 217.000000, 228.000000, "ld_beat:up");
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][11], 0);
PlayerTextDrawFont(playerid, ChooseClass[playerid][11], 5);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][11], 0.500000, 1.399999);
PlayerTextDrawColor(playerid, ChooseClass[playerid][11], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][11], 0);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][11], 1);
PlayerTextDrawSetShadow(playerid, ChooseClass[playerid][11], 1);
PlayerTextDrawUseBox(playerid, ChooseClass[playerid][11], 1);
PlayerTextDrawBoxColor(playerid, ChooseClass[playerid][11], -256);
PlayerTextDrawTextSize(playerid, ChooseClass[playerid][11], 60.000000, 73.000000);
PlayerTextDrawSetPreviewModel(playerid, ChooseClass[playerid][11], 287);
PlayerTextDrawSetPreviewRot(playerid, ChooseClass[playerid][11], 0.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][11], 1);
ChooseClass[playerid][12] = CreatePlayerTextDraw(playerid, 275.000000, 228.000000, "ld_beat:up");
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][12], 0);
PlayerTextDrawFont(playerid, ChooseClass[playerid][12], 5);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][12], 0.500000, 1.399999);
PlayerTextDrawColor(playerid, ChooseClass[playerid][12], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][12], 0);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][12], 1);
PlayerTextDrawSetShadow(playerid, ChooseClass[playerid][12], 1);
PlayerTextDrawUseBox(playerid, ChooseClass[playerid][12], 1);
PlayerTextDrawBoxColor(playerid, ChooseClass[playerid][12], -256);
PlayerTextDrawTextSize(playerid, ChooseClass[playerid][12], 60.000000, 73.000000);
PlayerTextDrawSetPreviewModel(playerid, ChooseClass[playerid][12], 73);
PlayerTextDrawSetPreviewRot(playerid, ChooseClass[playerid][12], 0.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][12], 1);
ChooseClass[playerid][13] = CreatePlayerTextDraw(playerid, 334.000000, 228.000000, "ld_beat:up");
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][13], 0);
PlayerTextDrawFont(playerid, ChooseClass[playerid][13], 5);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][13], 0.500000, 1.399999);
PlayerTextDrawColor(playerid, ChooseClass[playerid][13], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][13], 0);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][13], 1);
PlayerTextDrawSetShadow(playerid, ChooseClass[playerid][13], 1);
PlayerTextDrawUseBox(playerid, ChooseClass[playerid][13], 1);
PlayerTextDrawBoxColor(playerid, ChooseClass[playerid][13], -256);
PlayerTextDrawTextSize(playerid, ChooseClass[playerid][13], 60.000000, 73.000000);
PlayerTextDrawSetPreviewModel(playerid, ChooseClass[playerid][13], 179);
PlayerTextDrawSetPreviewRot(playerid, ChooseClass[playerid][13], 0.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][13], 1);
ChooseClass[playerid][14] = CreatePlayerTextDraw(playerid, 215.000000, 316.000000, "ld_beat:up");
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][14], 0);
PlayerTextDrawFont(playerid, ChooseClass[playerid][14], 5);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][14], 0.500000, 1.399999);
PlayerTextDrawColor(playerid, ChooseClass[playerid][14], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][14], 0);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][14], 1);
PlayerTextDrawSetShadow(playerid, ChooseClass[playerid][14], 1);
PlayerTextDrawUseBox(playerid, ChooseClass[playerid][14], 1);
PlayerTextDrawBoxColor(playerid, ChooseClass[playerid][14], -256);
PlayerTextDrawTextSize(playerid, ChooseClass[playerid][14], 60.000000, 73.000000);
PlayerTextDrawSetPreviewModel(playerid, ChooseClass[playerid][14], 206);
PlayerTextDrawSetPreviewRot(playerid, ChooseClass[playerid][14], 0.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][14], 1);
ChooseClass[playerid][15] = CreatePlayerTextDraw(playerid, 275.000000, 316.000000, "ld_beat:up");
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][15], 0);
PlayerTextDrawFont(playerid, ChooseClass[playerid][15], 5);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][15], 0.500000, 1.399999);
PlayerTextDrawColor(playerid, ChooseClass[playerid][15], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][15], 0);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][15], 1);
PlayerTextDrawSetShadow(playerid, ChooseClass[playerid][15], 1);
PlayerTextDrawUseBox(playerid, ChooseClass[playerid][15], 1);
PlayerTextDrawBoxColor(playerid, ChooseClass[playerid][15], -256);
PlayerTextDrawTextSize(playerid, ChooseClass[playerid][15], 60.000000, 73.000000);
PlayerTextDrawSetPreviewModel(playerid, ChooseClass[playerid][15], 285);
PlayerTextDrawSetPreviewRot(playerid, ChooseClass[playerid][15], 0.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][15], 1);
ChooseClass[playerid][16] = CreatePlayerTextDraw(playerid, 337.000000, 316.000000, "ld_beat:up");
PlayerTextDrawBackgroundColor(playerid, ChooseClass[playerid][16], 0);
PlayerTextDrawFont(playerid, ChooseClass[playerid][16], 5);
PlayerTextDrawLetterSize(playerid, ChooseClass[playerid][16], 0.500000, 1.399999);
PlayerTextDrawColor(playerid, ChooseClass[playerid][16], -1);
PlayerTextDrawSetOutline(playerid, ChooseClass[playerid][16], 0);
PlayerTextDrawSetProportional(playerid, ChooseClass[playerid][16], 1);
PlayerTextDrawSetShadow(playerid, ChooseClass[playerid][16], 1);
PlayerTextDrawUseBox(playerid, ChooseClass[playerid][16], 1);
PlayerTextDrawBoxColor(playerid, ChooseClass[playerid][16], -256);
PlayerTextDrawTextSize(playerid, ChooseClass[playerid][16], 60.000000, 73.000000);
PlayerTextDrawSetPreviewModel(playerid, ChooseClass[playerid][16], 217);
PlayerTextDrawSetPreviewRot(playerid, ChooseClass[playerid][16], 0.000000, 0.000000, -30.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, ChooseClass[playerid][16], 1);
return 1;
}