Hallo!
Ich habe das Problem das die Zivis immer die Skins vom Lspd angezeigt bekommen.
Woran kann das liegen?
if (IsPlayerZivi(playerid) == 1)
{
AddPlayerClass(134,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 1
AddPlayerClass(135,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 2
AddPlayerClass(137,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 3
AddPlayerClass(212,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 4
AddPlayerClass(230,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 5
AddPlayerClass(77,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 6
AddPlayerClass(78,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 7
AddPlayerClass(79,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // Obdachloser 8
}
else if(IsPlayerLspd(playerid) == 1) //LSPD
{
AddPlayerClass(280,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD 1
AddPlayerClass(281,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD 2
AddPlayerClass(265,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD 3
AddPlayerClass(266,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD 4
AddPlayerClass(267,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD 5
AddPlayerClass(282,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD Chief
AddPlayerClass(283,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD CO-LEADER
AddPlayerClass(288,1170.2864, -1489.7539, 22.7556,90.0000, 22, 68, 3, 1, 41, 500); // LSPD LEADER
}
else if(IsPlayerGs(playerid) == 1) //GS
{
AddPlayerClass(105,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // GS 1
AddPlayerClass(106,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // GS 2
AddPlayerClass(107,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // GS 3
AddPlayerClass(269,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // GS LEADER
AddPlayerClass(270,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // GS LEADER
AddPlayerClass(271,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // GS LEADER
}
else if(IsPlayerMafia(playerid) == 1) //MAFIA
{
AddPlayerClass(111,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA 1
AddPlayerClass(112,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA 2
AddPlayerClass(124,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA 3
AddPlayerClass(125,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA 4
AddPlayerClass(126,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA 5
AddPlayerClass(127,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA 6
AddPlayerClass(272,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA CO-LEADER
AddPlayerClass(113,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // MAFIA LEADER
}
else if(IsPlayerTriade(playerid) == 1) //TRIADEN
{
AddPlayerClass(117,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // TRIADEN 1
AddPlayerClass(117,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // TRIADEN 2
AddPlayerClass(120,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // TRIADEN CO-LEADER
AddPlayerClass(294,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // TRIADEN LEADER
}
else if(IsPlayerRifa(playerid) == 1) //SFR
{
AddPlayerClass(173,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // SFR 1
AddPlayerClass(174,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // SFR 2
AddPlayerClass(175,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // SFR 3
AddPlayerClass(114,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // SFR 4
AddPlayerClass(115,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // SFR 5
AddPlayerClass(116,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // SFR CO-LEADER
AddPlayerClass(292,1170.2864, -1489.7539, 22.7556,90.0000,0,0,0,0,0,0); // SFR LEADER
}