hi wie die überschrieft schon sagt spawnen irgendwie alle am noobspawn
bei setplayerspawn sind aber andre coords dirn kann jemand helfen, wäre sehe sehr sehr dankbar
//EDIT:
if (SpielerInfo[playerid][sMember] == 1 || SpielerInfo[playerid][sLeader] == 1)//Polizei Spawn
{
OnDuty[playerid] = 0;
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,262.4644,71.1239,1003.2422);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerInterior(playerid,6);
SpielerInfo[playerid][pInt] = 6;
SetPlayerWeapons(playerid);
return 1;
}
/*if (SpielerInfo[playerid][sMember] == 2 || SpielerInfo[playerid][sLeader] == 2)//FBI
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 10);
SetPlayerPos(playerid, 220.2969,108.5934,1010.2188);
SetPlayerFacingAngle(playerid,270);
SpielerInfo[playerid][pInt] = 10;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 3 || SpielerInfo[playerid][sLeader] == 3)//Army Spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 213.6955,1866.9175,13.1406);
SetPlayerFacingAngle(playerid, 270.0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}*/
if (SpielerInfo[playerid][sMember] == 4 || SpielerInfo[playerid][sLeader] == 4)//Arzt spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2037.8256,-1410.6281,17.1641);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 5 || SpielerInfo[playerid][sLeader] == 5)//LaCosaNostra spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, 244.411987,305.032989,999.148437);
//SetPlayerFacingAngle(playerid, 43);
SpielerInfo[playerid][pInt] = 1;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 6 || SpielerInfo[playerid][sLeader] == 6)//Yakuza Spawn
{
//SetPlayerVirtualWorld(playerid,2);
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 2);
SetPlayerPos(playerid, 2543.462646,-1308.379882,1026.728393);
SetPlayerFacingAngle(playerid, 180);
SpielerInfo[playerid][pInt] = 2;
SetPlayerWeapons(playerid);
return 1;
}
if(SpielerInfo[playerid][sLeader] == 7||SpielerInfo[playerid][sMember] == 7)//President Spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 363.1330,172.5314,1025.7891);
SpielerInfo[playerid][pInt] = 3;
SetPlayerWeapons(playerid);
return 1;
}
/*if (SpielerInfo[playerid][sMember] == 8 || SpielerInfo[playerid][sLeader] == 8) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, -381.7926,-1438.7909,25.7266);
SetPlayerInterior(playerid,0);
SetCameraBehindPlayer(playerid);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}*/
if (SpielerInfo[playerid][sMember] == 9 || SpielerInfo[playerid][sLeader] == 9) //CNN spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, -2050.8962,460.0262,35.1719);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
/* if (SpielerInfo[playerid][sMember] == 10 || SpielerInfo[playerid][sLeader] == 10) //Taxi Cab Company spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1252.9410,-1672.4580,12.6719);
SetPlayerFacingAngle(playerid, 0);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 11 || SpielerInfo[playerid][sLeader] == 11) //BUGGY
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 2570.3564,-1284.6008,1060.9844);
SetPlayerFacingAngle(playerid, 139);
SetPlayerInterior(playerid,2);
SpielerInfo[playerid][pInt] = 2;
SetPlayerWeapons(playerid);
return 1;
}*/
if (SpielerInfo[playerid][sMember] == 12 || SpielerInfo[playerid][sLeader] == 12) //CRIPS FAMILIY
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
SetPlayerInterior(playerid,1);
SpielerInfo[playerid][pInt] = 1;
//SetPlayerVirtualWorld(playerid,12);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 13 || SpielerInfo[playerid][sLeader] == 13) //BLOODS GANG
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,302.180999,300.722991,999.148437);
//SetPlayerFacingAngle(playerid,281.6475);
SetPlayerInterior(playerid,4);
SpielerInfo[playerid][pInt] = 4;
//SetPlayerVirtualWorld(playerid,13);
SetPlayerWeapons(playerid);
return 1;
}
/*if (SpielerInfo[playerid][sMember] == 14 || SpielerInfo[playerid][sLeader] == 14) //Los Santos MS13
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,88.9785);
SetPlayerInterior(playerid,8);
SpielerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,14);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 15 || SpielerInfo[playerid][sLeader] == 15)//need for speed
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,88.9785);
SetPlayerInterior(playerid,8);
SpielerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,15);
SetPlayerWeapons(playerid);
return 1;
}*/
if (SpielerInfo[playerid][sMember] == 16 || SpielerInfo[playerid][sLeader] == 16) //OUTLAWS
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 2350.339843,-1181.649902,1027.976562);
//SetPlayerFacingAngle(playerid, 139);
SetPlayerInterior(playerid,5);
SpielerInfo[playerid][pInt] = 5;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 17 || SpielerInfo[playerid][sLeader] == 17)//URC
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,322.197998,302.497985,999.148437);
SetPlayerInterior(playerid,5);
SpielerInfo[playerid][pInt] = 5;
//SetPlayerVirtualWorld(playerid,17);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 18 || SpielerInfo[playerid][sLeader] == 18) //O-Amt
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1768.3827,-2041.4266,13.5299);
SetPlayerFacingAngle(playerid, 271);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 19 || SpielerInfo[playerid][sLeader] == 19) //Partisans
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,-1819.3967,-1612.1416,23.0156);
//SetPlayerFacingAngle(playerid,180);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 20 || SpielerInfo[playerid][sLeader] == 20) //Triaden
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1523.509887,-47.821197,1002.130981);
SetPlayerInterior(playerid,2);
SpielerInfo[playerid][pInt] = 2;
//SetPlayerVirtualWorld(playerid,20);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 21 || SpielerInfo[playerid][sLeader] == 21) //MARA
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
SetPlayerInterior(playerid,3);
SpielerInfo[playerid][pInt] = 3;
//SetPlayerVirtualWorld(playerid,21);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 22 || SpielerInfo[playerid][sLeader] == 22) //juarez
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1527.229980,-11.574499,1002.097106);
SetPlayerInterior(playerid,3);
SpielerInfo[playerid][pInt] = 3;
//SetPlayerVirtualWorld(playerid,21);
SetPlayerWeapons(playerid);
return 1;
}
}
}
/* else
{
zivispawn(playerid,pWohnort);
return 1;
}*/
else
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1772.8477,-1941.1484,13.5666); //1129.2047,-1489.1949,22.7690
SetPlayerFacingAngle(playerid, 315);
SetCameraBehindPlayer(playerid);
return 1;
}
/*else if(SpielerInfo[playerid][pWohnort] == 0 && SpielerInfo[playerid][sMember] == 0 || SpielerInfo[playerid][sLeader] == 0)
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1817.4718,-1349.9363,15.0701); //1129.2047,-1489.1949,22.7690
SetPlayerFacingAngle(playerid, 315);
SetCameraBehindPlayer(playerid);
return 1;
}
else if(SpielerInfo[playerid][pWohnort] == 1 && SpielerInfo[playerid][sMember] == 0 || SpielerInfo[playerid][sLeader] == 0)
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,-1987.8271,139.9761,27.5391); //1129.2047,-1489.1949,22.7690
SetPlayerFacingAngle(playerid, 315);
SetCameraBehindPlayer(playerid);
return 1;
}*/
}
return 1;
}