Beiträge von .SleY

    Nein, hat mir nicht Weitergeholfen.. Geht immernoch nicht, aber hier mal mein OnPlayerConnect



    public OnPlayerConnect(playerid)
    {
    if(IsPlayerNPC(playerid))
    {
    loginPlayer(playerid, "QN2Bd");
    SpawnPlayer(playerid);
    TogglePlayerControllable(playerid, 1);
    return 1;
    }
    //tban
    if(IsPlayerTempBanned(playerid))
    {
    SendClientMessage(playerid,0xFF0000FF," Du bist derzeit auf diesem Server gebannt, versuch es sp?ter nochmal!");
    Kick(playerid);
    }
    /*ZUR?CKSETZEN*/
    hit_man_dia[playerid]=false;
    Duty[playerid]=0;
    handy_calling[playerid]={-1,-1};
    Freezed[playerid]=0;
    noTank[playerid]=0;
    automatWith[playerid]=0;
    pHp[playerid]=100.0;
    auat[playerid]=0;
    logged[playerid]=0;
    PlayerVeh[playerid]=0;
    format(PlayerInfo[playerid][pKey],128," ");
    PlayerInfo[playerid][pLevel]=0;
    PlayerInfo[playerid][pKills]=0;
    PlayerInfo[playerid][pDeaths]=0;
    PlayerInfo[playerid][pBank]=0;
    PlayerInfo[playerid][pWanted]=0;
    PlayerInfo[playerid][pTeam]=0;
    PlayerInfo[playerid][pRank]=0;
    PlayerInfo[playerid][pAdmin]=0;
    PlayerInfo[playerid][pLeader]=0;
    PlayerInfo[playerid][pSkin]=0;
    PlayerInfo[playerid][pTut]=0;
    PlayerInfo[playerid][pNumber]=0;
    PlayerInfo[playerid][pAlter]=0;
    PlayerInfo[playerid][pJail]=0;
    PlayerInfo[playerid][pJailTime]=0;
    PlayerInfo[playerid][pAccount]=0;
    PlayerInfo[playerid][pfBike]=0;
    PlayerInfo[playerid][pfCar]=0;
    PlayerInfo[playerid][pfFly]=0;
    PlayerInfo[playerid][pfGun]=0;
    PlayerInfo[playerid][pfLKW]=0;
    PlayerInfo[playerid][pSpawn]=0;
    PlayerInfo[playerid][pBan]=0;
    PlayerInfo[playerid][pFunk]=0;
    PlayerInfo[playerid][pJob]=0;
    PlayerInfo[playerid][pFight]=0;
    PlayerInfo[playerid][pContract]=0;
    PlayerInfo[playerid][pRP]=0;
    PlayerInfo[playerid][pLotto]=0;
    PlayerInfo[playerid][pCash]=0;
    PlayerInfo[playerid][pTicket]=0;
    PlayerInfo[playerid][pAFK]=0;
    handy_state[playerid]=0;
    handy_row[playerid]=0;
    handy_chat[playerid]=0;
    format(PlayerBook[playerid][0],MAX_PLAYER_NAME,"Neuer Kontakt...");
    format(PlayerBook[playerid][1],MAX_PLAYER_NAME,"Neuer Kontakt...");
    format(PlayerBook[playerid][2],MAX_PLAYER_NAME,"Neuer Kontakt...");
    format(PlayerBook[playerid][3],MAX_PLAYER_NAME,"Neuer Kontakt...");
    format(PlayerBook[playerid][4],MAX_PLAYER_NAME,"Neuer Kontakt...");
    PlayerBook2[playerid]={0,0,0,0,0};
    /*------*/
    if(IsPlayerNPC(playerid))return SpawnPlayer(playerid), PlayerInfo[playerid][pLogged]=1;
    new sendstr[128],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof name);
    format(sendstr,sizeof sendstr,"[Join] %s hat den Server betreten",name);
    SendClientMessageToAll(cGreen,sendstr);
    new Spielerdatei[256];
    new SpielerName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,SpielerName,sizeof(SpielerName));
    format(Spielerdatei,sizeof(Spielerdatei),"%s.ini",SpielerName);
    PlayerInfo[playerid][pBan] = dini_Int(Spielerdatei,"Ban");
    if(PlayerInfo[playerid][pBan] == 1)
    {
    SendClientMessage(playerid,cRed,"Du bist (leider) gebannt!");
    Kick(playerid);
    return 1;
    }
    else
    {
    if(dini_Exists(Spielerdatei))
    {
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,dheader,"Dieser Account ist registriert.\nUm dich anzumelden,\ngib bitte dein Passwort ein", "Login", " ");
    }
    else
    {
    ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,dheader,"Dieser Account ist noch nicht registriert.\nUm dich anzumelden,\ngib bitte dein gew?nschtes Passwort ein","Registrieren"," ");
    }
    }
    RemoveBuildingForPlayer(playerid, 16094, 191.1406, 1870.0391, 21.4766, 0.25);
    for(new i;i<ZNE;i++)
    {
    GangZoneShowForPlayer(playerid, Zone[i], StaticZone[i][zonecolor]);
    }
    return 1;
    }

    Hallo, ich habe ein Problem mit meinem Spawn, undzwa spawne ich nicht an dem Fraktionspunkt oder als Zivilist am Noobspawn
    so wie in dem Festgelegtem im Script:
    new teamsp[MTE][teamspawnenum]=
    {
    //X,Y,Z,Angle,Interior
    {-2764.9517,375.5246,6.3429,270.0,0}, //Noobspawn
    {241.0479,70.7709,1005.0391,43.1219,6}, //SFPD
    {-2455.5017,-135.7767,26.1381,92.0165,0}, //Grove
    {-2220.8374,99.9275,35.3203,16.5696,0}, //Vagos
    {-2183.0227,956.6121,80.0000,356.4394,0}, //Ballas
    {-2315.8267,-27.7252,35.3203,358.6634,0}, //LCN
    {-2029.5802,-120.5203,35.1690,183.7733,0}, // fsspawn
    {-1813.2140,-135.4017,6.1261,267.4097,0}, //Guerilla
    {-2594.7229,642.5187,14.4531,271.3492}, //Medics
    {-1740.0236,785.7656,24.8921,302.0756,0}, //SAN News
    {-2086.6211,2313.4341,24.0032,173.4625,0}, // hitmenspawn
    {-2486.8562,794.2430,35.1719,268.1447,0}, //OA
    {-2388.6313,-578.6269,132.1172,37.5042,0}, //Drift Access


    Sondern spawne ich in einem Haus, (egal welche Fraktion..)
    Die häuser sind hier Festgelegt:
    new house[MHO][houseenum]=
    {
    //X,Y,Z,ineriorX,ineriorY,ineriorZ,interiorID,virtual World
    {-2662.2329,876.6708,79.7738, 234.6087, 1187.8195, 1080.2578,3,0},
    {-2700.1328,820.8076,49.9844, -68.5145, 1353.8485, 1080.2109,6,0},
    {-2369.8831,847.1099,43.7891, 239.2819, 1114.1991, 1080.9922,5,0},
    {-2116.9077,927.4539,86.0791, 225.5707, 1240.0643, 1082.1406,2,0},
    {-2319.8052,579.3906,31.1239, 234.2826, 1065.229, 1084.2101,6,0},
    {-2540.9866,733.4370,28.1382, 224.288, 1289.1907, 1082.1406,1,0},
    {-2630.9453,252.7672,7.1875, 295.1391, 1473.3719, 1080.2578,15,0},
    {-2689.2488,197.9804,7.2031, 2233.6919, -1112.8107, 1050.8828,5,0},
    {-2639.3992,168.5078,7.1953, 295.1391, 1473.3719, 1080.2578,15,0}
    };


    Wenn mir jemand Helfen kann, bitte PNT mich oder Hier im Forum.. :)

    Hallo... Ich bekomme Folgenden error:

    Zitat

    error 052: multi-dimensional arrays must be fully initialized


    Das sind diese Zeilen hier:


    new house[MHO][houseenum]=
    {
    //X,Y,Z,ineriorX,ineriorY,ineriorZ,interiorID,virtual World
    {-2662.2329,876.6708,79.7738, 234.6087, 1187.8195, 1080.2578,3,0},
    {-2700.1328,820.8076,49.9844, -68.5145, 1353.8485, 1080.2109,6,0},
    {-2369.8831,847.1099,43.7891, 239.2819, 1114.1991, 1080.9922,5,0},
    {-2116.9077,927.4539,86.0791, 225.5707, 1240.0643, 1082.1406,2,0},
    {-2319.8052,579.3906,31.1239, 234.2826, 1065.229, 1084.2101,6,0},
    {-2540.9866,733.4370,28.1382, 224.288, 1289.1907, 1082.1406,1,0},
    {-2630.9453,252.7672,7.1875, 295.1391, 1473.3719, 1080.2578,15,0},
    {-2689.2488,197.9804,7.2031, 2233.6919, -1112.8107, 1050.8828,5,0},
    {-2639.3992,168.5078,7.1953, 295.1391, 1473.3719, 1080.2578,15,0},
    {-2689.4856,96.3025,7.2031, 2216.1282, -1076.3052, 1050.4844,1,0}
    };


    Woran kann das liegen ?


    Was kann ich da machen ?Streamer.inc ist drinn... Streamer.dll auch ^^