Beiträge von MKW|RyanCooper

    naja wen du neu bist würde ich alles von vorner lernen weil später kannst du dich mit schwierigeren problemen alleine auseinander setzten. Auserdem kannst du später mal deine eigenen ideen umsetzt wen du alles lernst. wen du jetzt halt mit Loh anfängst dann hängst du halt am gf rum.. und das finde ich nicht so gut ^^ aber ist immer noch deine sache

    ich hab ein root und ich hab die mysql version auch schon mal eingerichtet nur das problem dabei war wen ich was erstellt habe wars nach nem neustart wieder weg und die gekauften autos auch... entweder schreibt er nicht die tabellen in die datenbank oder er erkennt meinen mysql server nicht. aber in der mysql log steht drinn das er sích connecten kann...

    hallo scripter,
    ich hab ein kleines problem und zwar wen ich diesen befehl hier ingame schreibe


    dcmd_wanted(playerid,params[])
    {
    new pID, wanteds;
    if(sscanf(params, "ud",pID,wanteds)) {
    return SendClientMessage(playerid,COLOR_RED,"USAGE: /wanted [playerid] [Wantedlevel]");


    }
    if(!IsPlayerConnected(pID)) {
    return SendClientMessage(playerid,COLOR_RED,"Kein Spieler mit angegebener ID Online");


    }
    if(PlayerInfo[playerid][Member] == 1 || PlayerInfo[playerid][Leader] == 1)
    {
    SetPlayerWantedLevel(pID, wanteds);
    new ThePlayer[MAX_PLAYER_NAME], GivePlayer[MAX_PLAYER_NAME];
    GetPlayerName(pID,GivePlayer,sizeof(GivePlayer));
    GetPlayerName(playerid,ThePlayer,sizeof(ThePlayer));
    SendClientMessage(playerid, COLOR_RED, "Du hast %s %s Wanteds gegeben!",GivePlayer,wanteds);
    SendClientMessage(pID, COLOR_RED, "Du hast von %s %s Wanteds bekommen!",ThePlayer,wanteds);
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du bist kein Polizist!");
    }
    return 1;
    }


    dann schmiert mir der Server weg...
    liegt das an mir oder an was liegt das?


    weil in den server logs steht nicht ein wort

    hab wieder ein paar probleme leider:


    - wen ich einen resprayer oder tuner erstelle sind die erstmal nicht sofort da
    - wen ich in den tuner reingehe land ich ohne auto mitten in der pampa
    - mein auto und erstellte autohäuser werden nicht gepeichert wen cih den server schließe


    weiß jemand wie man die behebt?

    das kan nicht funktionieren du machst ja 2 abfragen aufeinmal und beantwortest nur eine.


    probier mal so



    new playerskin = GetPlayerSkin();
    if(playerskin == 285 || playerskin == 221)
    {
    AddStaticVehicleEx(520,1384.50244141,-2423.25488281,14.47426319,0.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1373.33398438,-2422.79980469,14.47426319,0.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1395.49658203,-2422.93261719,14.47426319,0.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1406.24084473,-2422.61767578,14.47426319,0.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1416.73571777,-2422.31005859,14.47426319,0.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1426.98034668,-2422.00927734,14.47426319,0.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(425,1450.54614258,-2438.96337891,14.40568733,0.00000000,-1,-1,15); //Hunter AddStaticVehicleEx(425,1438.04187012,-2438.92041016,14.40568733,0.00000000,-1,-1,15); //Hunter AddStaticVehicleEx(425,1438.33911133,-2457.41992188,14.40568733,0.00000000,-1,-1,15); //Hunter AddStaticVehicleEx(425,1449.83886719,-2457.22900391,14.40568733,0.00000000,-1,-1,15); //Hunter
    }
    if(playerskin == 285 || playerskin == 221)
    {
    AddStaticVehicleEx(425,1892.66662598,-2270.03930664,14.39787483,0.00000000,-1,-1,15); //Hunter AddStaticVehicleEx(425,1903.41601562,-2269.82910156,14.39787483,0.00000000,-1,-1,15); //Hunter AddStaticVehicleEx(425,1913.66601562,-2269.62890625,14.39787483,0.00000000,-1,-1,15); //Hunter AddStaticVehicleEx(425,1923.91601562,-2269.42871094,14.39787483,0.00000000,-1,-1,15); //Hunter AddStaticVehicleEx(520,1924.24707031,-2290.59594727,14.46645069,180.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1913.48510742,-2290.57910156,14.46645069,180.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1934.82922363,-2290.62060547,14.46645069,180.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1945.59106445,-2290.63671875,14.46645069,180.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1957.09082031,-2290.36987305,14.46645069,180.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(520,1968.35229492,-2290.36328125,14.46645069,180.00000000,-1,-1,15); //Hydra
    }
    if(playerskin == 287 || playerskin == 142)
    {
    AddStaticVehicleEx(432,1458.85632324,-2424.85424805,13.65402412,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1465.60546875,-2424.82714844,13.65402412,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1472.35546875,-2424.80078125,13.65402412,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1478.85546875,-2424.77539062,13.65402412,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1485.85546875,-2424.74804688,13.65402412,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(433,1450.53930664,-2413.01562500,14.12468719,0.00000000,-1,-1,15); //Barracks AddStaticVehicleEx(433,1445.03906250,-2413.03710938,14.12468719,0.00000000,-1,-1,15); //Barracks AddStaticVehicleEx(433,1439.03906250,-2413.06054688,14.12468719,0.00000000,-1,-1,15); //Barracks
    }
    if(playerskin == 287 || playerskin == 142)
    {
    AddStaticVehicleEx(432,1886.87194824,-2307.28125000,13.64621162,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1892.64172363,-2307.25146484,13.64621162,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1898.66113281,-2307.19824219,13.64621162,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1886.90270996,-2296.72998047,13.64621162,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1892.87597656,-2296.17871094,13.64621162,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1899.09851074,-2295.60498047,13.64621162,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(432,1492.26013184,-2424.19946289,13.65402412,0.00000000,-1,-1,15); //Rhino AddStaticVehicleEx(433,1897.87463379,-2315.47412109,14.11687469,272.00000000,-1,-1,15); //Barracks AddStaticVehicleEx(433,1898.00842285,-2325.73120117,14.11687469,271.99951172,-1,-1,15); //Barracks AddStaticVehicleEx(433,1898.19494629,-2320.48559570,14.11687469,271.99951172,-1,-1,15); //Barracks
    }