Hallo, ich brauch einen /f team chat, wo sich nur die z.b grove=grove unterhalten könnnen, und das gleiche bei den anderen.
Ich weiß nicht wie man das macht, ich hoffe jmd kann mir ihn schreiben. Ich hoffe die angaben sind das wo man braucht:
Steht bei "public OnPlayerRequestClass(playerid, classid)"
case 0,1,2,3,4,5,6: gTeam[playerid] = TEAM_COP;
case 7,8,9: gTeam[playerid] = TEAM_RUSSIA;
case 10,11,12: gTeam[playerid] = TEAM_TRIADEN;
case 13,14,15,16: gTeam[playerid] = TEAM_ITAL;
case 17,18,19: gTeam[playerid] = TEAM_BIKER;
case 20,21,22: gTeam[playerid] = TEAM_GROVE;
case 23,24,25: gTeam[playerid] = TEAM_BALLAS;
case 26,27,28: gTeam[playerid] = TEAM_AZTECAS;
case 29,30,31: gTeam[playerid] = TEAM_VAGOS;
case 32,33,34: gTeam[playerid] = TEAM_RIFA;
case 35,36,37: gTeam[playerid] = TEAM_ARMY;
default: gTeam[playerid] = TEAM_ZIVI;
Steht bei "public OnPlayerRequestClass(playerid, classid)"
if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6){
SetPlayerColor(playerid,COLOR_DBLUE);
GameTextForPlayer(playerid, "~w~LS-Polizei", 1500, 6);}//-
else if(classid == 7 || classid == 8 || classid == 9){
SetPlayerColor(playerid,COLOR_RED);
GameTextForPlayer(playerid, "~w~Russische Mafia", 1500, 6);}
else if(classid == 10 || classid == 11 || classid == 12){
SetPlayerColor(playerid,COLOR_YELLOW);
GameTextForPlayer(playerid, "~w~Triaden", 1500, 6);}
else if(classid == 13 || classid == 14 || classid == 15 || classid == 16){
SetPlayerColor(playerid,COLOR_PINK);
GameTextForPlayer(playerid, "~w~Italenische Mafia", 1500, 6);}//-
else if(classid == 17 || classid == 18 || classid == 19){
SetPlayerColor(playerid,COLOR_ORANGE);
GameTextForPlayer(playerid, "~w~Biker", 1500, 6);}//-
else if(classid == 20 || classid == 21 || classid == 22){
SetPlayerColor(playerid,COLOR_GREEN);
GameTextForPlayer(playerid, "~w~Grove Street", 1500, 6);}//-
else if(classid == 23 || classid == 24 || classid == 25){
SetPlayerColor(playerid,COLOR_PURPLE);
GameTextForPlayer(playerid, "~w~Ballas", 1500, 6);}//-
else if(classid == 26 || classid == 27 || classid == 28){
SetPlayerColor(playerid,COLOR_GREY);
GameTextForPlayer(playerid, "~w~Los Aztecas", 1500, 6);}
else if(classid == 29 || classid == 30 || classid == 31){
SetPlayerColor(playerid,COLOR_BLACK);
GameTextForPlayer(playerid, "~w~Vagos", 1500, 6);}
else if(classid == 32 || classid == 33 || classid == 34){
SetPlayerColor(playerid,COLOR_BLUE);
GameTextForPlayer(playerid, "~w~Rifa", 1500, 6);}
else if(classid == 35 || classid == 36 || classid ==37){
SetPlayerColor(playerid,COLOR_BROWN);
GameTextForPlayer(playerid, "~w~Army", 1500, 6);}
else if(classid == 38 || classid == 39 || classid == 40){
SetPlayerColor(playerid,COLOR_BLUE);
GameTextForPlayer(playerid, "~w~Zivilist", 1500, 6);}
return 1;
}
Steht bei new :
new RIFA;
new TRIADEN;
new GROVE;
new BIKER;
new BALLAS;
new RUSSIA;
new COP;
new ITAL;
new VAGOS;
new AZTECAS;
new ARMY;
new Fraktion[MAX_PLAYERS];
new gTeam[MAX_PLAYERS];
new Text:Forum;
new Spieler[MAX_PLAYERS][spieler_daten];
Steht bei PLayer Class´s 18
// Player Class's 18
AddPlayerClass(280,1552.7234,-1694.6600,6.2188,175.7105,24,250,29,1500,25,150); //COP
AddPlayerClass(281,1552.7234,-1694.6600,6.2188,175.7105,24,250,29,1500,25,150); //COP
AddPlayerClass(282,1552.7234,-1694.6600,6.2188,175.7105,24,250,29,1500,25,150); //COP
AddPlayerClass(283,1552.7234,-1694.6600,6.2188,175.7105,24,250,29,1500,25,150); //COP
AddPlayerClass(288,1552.7234,-1694.6600,6.2188,175.7105,24,250,29,1500,25,150); //COP
AddPlayerClass(284,1552.7234,-1694.6600,6.2188,175.7105,24,250,29,1500,25,150); //COP
AddPlayerClass(285,1552.7234,-1694.6600,6.2188,175.7105,24,250,29,1500,25,150); //COP
AddPlayerClass(111,2132.1079,-2282.2371,20.6719,43.3022,22,500,30,2500,28,2000); //RUSSIA
AddPlayerClass(112,2132.1079,-2282.2371,20.6719,43.3022,22,500,30,2500,28,2000); //RUSSIA
AddPlayerClass(113,2132.1079,-2282.2371,20.6719,43.3022,22,500,30,2500,28,2000); //RUSSIA
AddPlayerClass(117,-2174.1616,632.4750,49.4375,356.1274,30,2500,23,500,8,1); //TRIADEN
AddPlayerClass(118,-2174.1616,632.4750,49.4375,356.1274,30,2500,23,500,8,1); //TRIADEN
AddPlayerClass(120,-2174.1616,632.4750,49.4375,356.1274,30,2500,23,500,8,1); //TRIADEN
AddPlayerClass(124,2610.9324,-2178.9529,-0.2188,96.2671,34,200,32,2000,31,3000); //ITAL
AddPlayerClass(125,2610.9324,-2178.9529,-0.2188,96.2671,34,200,32,2000,31,3000); //ITAL
AddPlayerClass(126,2610.9324,-2178.9529,-0.2188,96.2671,34,200,32,2000,31,3000); //ITAL
AddPlayerClass(127,2610.9324,-2178.9529,-0.2188,96.2671,34,200,32,2000,31,3000); //ITAL
AddPlayerClass(247,1510.6865,-1480.3364,9.5000,311.8584,5,1,22,750,28,1500); //BIKER
AddPlayerClass(248,1510.6865,-1480.3364,9.5000,311.8584,5,1,22,750,28,1500); //BIKER
AddPlayerClass(254,1510.6865,-1480.3364,9.5000,311.8584,5,1,22,750,28,1500); //BIKER
AddPlayerClass(105,2530.0439,-1668.2301,15.1693,85.4215,31,750,22,750,32,2000); //GROVE
AddPlayerClass(106,2530.0439,-1668.2301,15.1693,85.4215,31,750,22,750,32,2000); //GROVE
AddPlayerClass(107,2530.0439,-1668.2301,15.1693,85.4215,31,750,22,750,32,2000); //GROVE
AddPlayerClass(102,2070.6494,-1550.3933,13.4284,186.6098,31,700,22,750,33,100); //BALLAS
AddPlayerClass(103,2070.6494,-1550.3933,13.4284,186.6098,31,700,22,750,33,100); //BALLAS
AddPlayerClass(104,2070.6494,-1550.3933,13.4284,186.6098,31,700,22,750,33,100); //BALLAS
AddPlayerClass(114,1831.6841,-1681.8323,13.5466,92.3014,22,500,26,250,28,1500); //AZTECAS
AddPlayerClass(115,1831.6841,-1681.8323,13.5466,92.3014,22,500,26,250,28,1500); //AZTECAS
AddPlayerClass(116,1831.6841,-1681.8323,13.5466,92.3014,22,500,26,250,28,1500); //AZTECAS
AddPlayerClass(108,2794.8557,-1087.5179,30.7188,272.3829,28,500,22,250,4,1); //VAGOS
AddPlayerClass(109,2794.8557,-1087.5179,30.7188,272.3829,28,500,22,250,4,1); //VAGOS
AddPlayerClass(110,2794.8557,-1087.5179,30.7188,272.3829,28,500,22,250,4,1); //VAGOS
AddPlayerClass(173,-2476.9763,-197.9508,25.6237,272.3829,32,1250,26,250,22,750); //RIFA
AddPlayerClass(174,-2476.9763,-197.9508,25.6237,272.3829,32,1250,26,250,22,750); //RIFA
AddPlayerClass(175,-2476.9763,-197.9508,25.6237,272.3829,32,1250,26,250,22,750); //RIFA
AddPlayerClass(287,2731.5532,-2449.9136,17.5937,276.0934,16,10,24,100,31,750);//ARMY
AddPlayerClass(10,1217.0851,-1813.7845,16.5938,272.3829,0,0,0,0,0,0); //ZIVI
AddPlayerClass(12,1217.0851,-1813.7845,16.5938,272.3829,0,0,0,0,0,0); //ZIVI
AddPlayerClass(184,1217.0851,-1813.7845,16.5938,272.3829,0,0,0,0,0,0); //ZIVI
Ich hoffe das sind die angaben was man braucht, wen nicht einfach melden was ihr braucht.
Danke im voraus