Problem mit Spawn

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo Ich habe eine Frage:


    Ich möchte wen er Connectet und sich einloggt ganz Normal ma newbspawn spawnt und nicht im Hotel habe es Versucht 26 Erros :(


    else if(PlayerInfo[playerid][pZivispawn] == 1) // LOS SANTOS SPAWN
    {
    if(PlayerInfo[playerid][pLevel] == 1 && PlayerInfo[playerid][pOwnPerso] == 0)
    {

    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SetPlayerPos(playerid,1715.3109,-1951.0555,14.1172);
    SetPlayerFacingAngle(playerid,276.6497);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    PlayerInfo[playerid][pRollerLic] = 1;
    PlayerInfo[playerid][pPhoneBook] = 1;
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid,1738.1816,-1949.5975,14.1172,2.0); // zum BHF
    }
    else
    {
    SetPlayerPos(playerid,1423.7788,-1814.6895,13.5469); // Nach dem tut
    SetPlayerFacingAngle(playerid,358.8067);
    SetPlayerInterior(playerid,15);
    SetPlayerVirtualWorld(playerid,0);
    // Noob Hotel Spawns
    switch(random(8))
    {
    case 0:
    {
    SetPlayerPos(playerid,2198.1956,-1158.2441,1029.7969); // 8
    }
    case 1:
    {
    SetPlayerPos(playerid,2188.4031,-1156.4893,1029.7969); // 7
    }
    case 2:
    {
    SetPlayerPos(playerid,2198.6318,-1173.6577,1029.7969); // 6
    }
    case 3:
    {
    SetPlayerPos(playerid,2208.7246,-1193.4209,1029.7969); // 5
    }
    case 4:
    {
    SetPlayerPos(playerid,2227.1663,-1183.2559,1029.8043); // 4
    }
    case 5:
    {
    SetPlayerPos(playerid,2235.7727,-1169.6208,1029.8043); // 3
    }
    case 6:
    {
    SetPlayerPos(playerid,2235.5159,-1159.5808,1029.7969); // 2
    }
    default:
    {
    SetPlayerPos(playerid,2246.8823,-1160.9828,1029.7969); // 1
    }
    }


    }
    }
    else
    {
    rand = random(sizeof(gRandomPlayerSpawns));
    SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
    SetPlayerFacingAngle(playerid, 180.0); //normal 270.0
    SetPlayerInterior(playerid,3); //normal 15
    PlayerInfo[playerid][pInt] = 3; //normal 15
    }
    return 1;
    }
    }
    return 1;
    }