Beiträge von Maaax

    Wie der Fehler schon sagt hast du keine Datenbank ausgewählt, auf dem die Tabelle erstellt werden soll.
    Gelöst wird dies indem du vor dem CREATE TABLE Statement das hier einfügst: USE db40888n2; (vorausgesetzt deine Datenbank heißt db40888n2)


    Also muss ich die Datenbank öffnen mit Navicat ?
    & Wo muss ich das dann einfügen ?
    Meine Datenbank heißt ganz anders.

    Danke.
    Mit Notepad komt überhaupt sowas richtig komisches haha :D Aber trotzdem danke :)



    Das geht leider immer noch nicht :/
    Ich hab das Sprach Paket installiert und mit Notepad kommen immer noch diese komischen teile.

    Hallo ,
    Ich möchte ein Gamemode von russisch ins deutsche übersetzen.
    Das Problem ist eigentlich , dass Pawno mir solche Teile anzeigt : àäðåññ ÁÄ.


    Kann mir jemand helfen ?
    Danke im Vorraus :D

    C:\Users\Maaaax\Desktop\German-Elite-Reallife\German-Elite-Reallife\gamemodes\German-Elite-Reallife1.pwn(66840) : error 021: symbol already defined: "OnGameModeExit"
    C:\Users\Maaaax\Desktop\German-Elite-Reallife\German-Elite-Reallife\gamemodes\German-Elite-Reallife1.pwn(66846) : error 021: symbol already defined: "OnPlayerCommandText"

    Hallo.
    Ich möchte ein Filterscript in mein Script einfügen.
    Aber irgendwie kriege ich das nicht hin.
    Ich weiß nicht wo ich das hier :

    Spoiler anzeigen
    public OnGameModeExit()
    {
    return 1;
    }

    Spoiler anzeigen
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    new cartype = GetPlayerVehicleID(playerid);
    new State=GetPlayerState(playerid);

    Spoiler anzeigen

    if (strcmp(cmdtext, "/neon", true)==0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 7.0, -1979.3672,440.1091,27))
    {

    Spoiler anzeigen
    ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Wähle deine Neon Farbe aus", "Blau\nRot\nGrün\nWeiß\nPink\nGelb\nPolizei Sirene\nInnenraum Lichter\nSchwarzer Neon\nVorderseite Neon\nUndercover Dach Licht\nAlles entfernen", "Auswählen", "Abbrechen");
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
    }
    return 1;}
    return 0;
    }

    Spoiler anzeigen
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {

    Spoiler anzeigen
    if(dialogid == 8899)
    {
    if(response)
    {
    if(listitem == 0)
    {

    Spoiler anzeigen
    //blue
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    }
    if(listitem == 1)
    {

    Spoiler anzeigen
    //red
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

    Spoiler anzeigen
    }
    if(listitem == 2)
    {

    Spoiler anzeigen
    //green
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

    Spoiler anzeigen
    }
    if(listitem == 3)
    {

    Spoiler anzeigen
    //white
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

    Spoiler anzeigen
    }
    if(listitem == 4)
    {

    Spoiler anzeigen
    //pink
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

    Spoiler anzeigen
    }
    if(listitem == 5)
    {

    Spoiler anzeigen
    //yellow
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

    Spoiler anzeigen
    }
    if(listitem == 6)
    {

    Spoiler anzeigen
    //police
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon12", CreateObject(18646,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon13", CreateObject(18646,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

    Spoiler anzeigen
    if(listitem == 7)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "interior", CreateObject(18646,0,0,0,0,0,0));
    SetPVarInt(playerid, "interior1", CreateObject(18646,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "interior"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "interior1"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Interior lights installed");

    Spoiler anzeigen
    }
    if(listitem == 8)
    {

    Spoiler anzeigen
    //back
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "back", CreateObject(18646,0,0,0,0,0,0));
    SetPVarInt(playerid, "back1", CreateObject(18646,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "back"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "back1"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Back neon installed");
    }
    if(listitem == 9)
    {

    Spoiler anzeigen
    //front
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "front", CreateObject(18646,0,0,0,0,0,0));
    SetPVarInt(playerid, "front1", CreateObject(18646,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "front"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "front1"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Front neon installed");
    }
    if(listitem == 10)
    {
    //undercover
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "undercover", CreateObject(18646,0,0,0,0,0,0));
    SetPVarInt(playerid, "undercover1", CreateObject(18646,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "undercover"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "undercover1"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Undercover lights installed");
    }
    if(listitem == 11)
    {
    //remove neon
    DestroyObject(GetPVarInt(playerid, "neon"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon1"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon2"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon3"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon4"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon5"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon6"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon7"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon8"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon9"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon10"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon11"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon12"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "neon13"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "interior"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "interior1"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "back"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "back1"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "front"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "front1"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "undercover"));
    DeletePVar(playerid, "Status");
    DestroyObject(GetPVarInt(playerid, "undercover1"));

    Spoiler anzeigen
    DeletePVar(playerid, "Status");

    Spoiler anzeigen
    }
    }
    }
    return 0;}


    Einfügen soll. Ich finde public OnPlayerCommandText garnicht im Script. Und wenn ich das einfach so einfüge dann kommt dass ich das zwei mal im Script drinne habe.
    Muss das da rein wo alle if (strcmp(cmdtext.... so änfangt ?

    Spoiler anzeigen
      new cartype = GetPlayerVehicleID(playerid);
    new State=GetPlayerState(playerid);

    Spoiler anzeigen

    if (strcmp(cmdtext, "/neon", true)==0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 7.0, -1979.3672,440.1091,27))
    {

    Spoiler anzeigen
    ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Wähle deine Neon Farbe aus", "Blau\nRot\nGrün\nWeiß\nPink\nGelb\nPolizei Sirene\nInnenraum Lichter\nSchwarzer Neon\nVorderseite Neon\nUndercover Dach Licht\nAlles entfernen", "Auswählen", "Abbrechen");
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
    }
    return 1;}
    return 0;
    }


    & Wiso finde ich public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    nicht in meinem Scirpt ??





    Mit freundlichen Grüßen Maaax. :D

    Ich hab den Server über meinen PC laufen lassen. Da hab ich den Server zum laufen bekommen in dem ich den Plugins ordner eingefügt hab :D
    Ich versuche es jetzt mal in dem ich meinem Linux Root neu installiere etc.

    Hallo,
    Ich habe den Gamemode irgendwie nach dem Compilen auf Unknown.
    Ich kriege keine Errors beim Compilen etc.
    Ich habe auch im Script alles auf Undo gemacht und trotzdem kriege ich Gamemode Unknown.


    Was kann man dagegen machen ?



    € : Server Log :

    Spoiler anzeigen
    ----------
    Loaded log file: "server_log.txt".
    ----------

    Spoiler anzeigen
    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team

    Spoiler anzeigen
    [19:55:16] filterscripts = "" (string)
    [19:55:16]
    [19:55:16] Server Plugins
    [19:55:16] --------------
    [19:55:16] Loading plugin: streamer
    [19:55:16] Failed.
    [19:55:16] Loading plugin: audio
    [19:55:16] Failed.
    [19:55:16] Loaded 0 plugins.

    Spoiler anzeigen
    [19:55:16]
    [19:55:16] Filterscripts
    [19:55:16] ---------------
    [19:55:16] Loaded 0 filterscripts.

    Spoiler anzeigen
    [19:55:16] Script[gamemodes/ger.amx]: Run time error 19: "File or function is not found"
    [19:55:16] Number of vehicle models: 0

    Ich kriege immer noch :
    C:\Users\Maaaax\Desktop\neon.pwn(87) : error 017: undefined symbol "PlayerInfo"
    C:\Users\Maaaax\Desktop\neon.pwn(87) : warning 215: expression has no effect
    C:\Users\Maaaax\Desktop\neon.pwn(87) : error 001: expected token: ";", but found "]"
    C:\Users\Maaaax\Desktop\neon.pwn(87) : error 029: invalid expression, assumed zero
    C:\Users\Maaaax\Desktop\neon.pwn(87) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.




    Das Neon System ist ja im Filterscript.