Hi.
Ich möchte gerade in meinem Script die Fraktion Zoll hinzufügen. Nun bin ich bei der Skinauswahl angekommen. Wenn ich nun /makeleader mache um in die Skinauswahl zu kommen, diese durchblättere, und dann eigentlich die Skins für Zoll kommen sollten, sind diese aber nicht vorhanden. Nach Karlo Kartell hört es auf. Weis einer woran das liegt?
Hier mal der Code:
new frak;
frak = SpielerInfo[playerid][pFraktion];
switch(classid)
{
case 39,40,41,42,43:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 1;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~LS Police Department",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~LS Police Department",3000,6);
}
}
}
case 44,45,46,47:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 2;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~Fahrschule",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Fahrschule",3000,6);
}
}
}
case 48,49,50,51:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 3;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~San Andreas Medical Center",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~San Andreas Medical Center",3000,6);
}
}
}
case 52,53,54:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 4;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~LS Fire Department",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~LS Fire Department",3000,6);
}
}
}
case 55,56,57:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 5;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~S.A. Army",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~S.A. Army",3000,6);
}
}
}
case 58,59:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 6;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~San News",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~San News",3000,6);
}
}
}
case 60,61,62,63,64,65,66:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 7;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~Grove Street Family",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Grove Street Family",3000,6);
}
}
}
case 67,68,69,70,71:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 8;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~Rollin' Height Ballas",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Rollin' Height Ballas",3000,6);
}
}
}
case 72,73,74,75,76:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 9;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~Camorra",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Camorra",3000,6);
}
}
}
case 77,78,79,80,81:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 10;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~Karlo Kartell",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Karlo Kartell",3000,6);
}
}
}
case 82,83,84,85,86:
{
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
gTeam[playerid] = 11;
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~Zoll",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Zoll",3000,6);
}
}
}
default:
{
gTeam[playerid] = 0;
if(GetPVarInt(playerid, "Eingeloggt") == 1)
{
if(gTeam[playerid] != frak)
{
GameTextForPlayer(playerid,"~r~Zivilisten",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Zivilisten",3000,6);
}
}
}
}
return 1;
}
Gruß Tim