Command Problem (lol!?)

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 hab hier i-wie was voll dummes.!!
    Ich wollte Tore machen für LSPD und hab die auch definiert per new PDi_gate; (usw. halt)
    Ich bekomme dennoch Error das es nicht definiert ist!?
    Hier das ganze FS:



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net


  • unter #define FILTERSCRIPT machst du:
    if defined FILTERSCRIPT

  • Wer bin ich denn??
    Es geht immer noch nicht...
    @ Sniper


    Und des geilste dadran ist, Ich hab des genauso in einem anderen Filterscript aber da kommt kein Error

    Zitat

    oder besser gesagt mach die // vor dem #define FILTERSCRIPT weg

    Lol hab ich und jezz kommt:



    MfG luXuskerN



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net


  • Eher andersrum... Mach vor
    //#define FILTERSCRIPT
    die // weg.


    LOL? Ich bin leicht langsam im schreiben ^^. Als ich den Post erstellt hab, war nicht mal snipers antwort da ?(


    Ich scripte NICHT mehr, ich möchte mit NIEMANDEM einen Server aufmachen habe auch NICHTS mehr mit LoH zu tun, also lasst es mit den PNs!

  • Hab ich doch jezz kommen immer noch Errors
    PS: siehe Edit im 2ten Post.!!



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net


  • //EDIT
    Ist okay kerny lein 8o

    Einmal editiert, zuletzt von ★ !Blanco! _Since_ ★ ()

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Lol Ich habe nie gesagt das ich ein Guter Scripter bin.
    ich sagte das ich ein wenig scripten kann.
    Und der thread ist nicht zum Chat sondern eig. zum helfen
    na Mani?^^


    @ sniper


    MfG luXuskerN



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net


  • ja ich weiß muss bei FilterScriptInit hin
    aber hab des erstmal darein gemacht
    außerdem kommts ja im moment nicht dadrauf an ;)^^


    EDIT:
    Momentan diese Errors:


    Und so sieht des FS momentan aus.!



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net



  • #include <a_samp>
    #include <a_objects>


    #pragma tabsize 0
    #define COLOR_GRAD1 0xB4B5B7FF
    #define COLOR_GRAD2 0xBFC0C2FF
    #define COLOR_GRAD3 0xCBCCCEFF
    #define COLOR_GRAD4 0xD8D8D8FF
    #define COLOR_GRAD5 0xE3E3E3FF
    #define COLOR_GRAD6 0xF0F0F0FF
    #define COLOR_GREY 0xAFAFAFAA
    #define COLOR_GREEN 0x33AA33AA
    #define COLOR_RED 0xAA3333AA
    #define COLOR_LIGHTRED 0xFF6347AA
    #define COLOR_LIGHTBLUE 0x33CCFFAA
    #define COLOR_LIGHTGREEN 0x9ACD32AA
    #define COLOR_YELLOW 0xFFFF00AA
    #define COLOR_YELLOW2 0xF5DEB3AA
    #define COLOR_WHITE 0xFFFFFFAA
    #define COLOR_FADE1 0xE6E6E6E6
    #define COLOR_FADE2 0xC8C8C8C8
    #define COLOR_FADE3 0xAAAAAAAA
    #define COLOR_FADE4 0x8C8C8C8C
    #define COLOR_FADE5 0x6E6E6E6E
    #define COLOR_PURPLE 0xC2A2DAAA
    #define COLOR_DBLUE 0x2641FEAA
    #define COLOR_ALLDEPT 0xFF8282AA
    #define COLOR_NEWS 0xFFA500AA
    #define COLOR_OOC 0xE0FFFFAA


    new PDi_gate;
    new PDg_gate,
    new PDt_gate;




    public OnFilterScriptInit()
    {
    PDi_gate = CreateObject(980, 1586.805298, -1637.933228, 15.063852, 0.000000, 0.000000, 0.000000);
    PDg_gate = CreateObject(987, 1549.543945, -1621.659546, 12.321878, 0.000000, 0.000000, -89.999981);
    PDt_gate = CreateObject(1965, 1577.175049, -1637.303955, 13.986071, 0.000000, 0.000000, 0.000000);
    CreateObject(8210, 1567.521484, -1602.737427, 15.750465, 0.000000, 0.000000, 180.00002);
    CreateObject(987, 1539.833862, -1602.321167, 12.574196, 0.000000, 0.000000, -89.999981);
    CreateObject(987, 1539.714111, -1617.598511, 12.546875, 0.000000, 0.000000, 0.000000);
    CreateObject(987, 1539.858887, -1605.918213, 12.526399, 0.000000, 0.000000, -89.999981);
    CreateObject(987, 1596.104370, -1637.903320, 12.466118, 0.000000, 0.000000, -360.00004);
    CreateObject(985, 1550.835449, -1614.506958, 14.093480, 0.000000, 0.000000, 270.000001);
    CreateObject(986, 1550.814331, -1606.539917, 14.093480, 0.000000, 0.000000, 270.000001);
    CreateObject(3749, 1548.800171, -1627.594482, 18.241226, 0.000000, 0.000000, -89.999981);
    CreateObject(8154, 1566.227417, -1629.381836, 15.647902, 0.000000, 0.000000, 89.999981);
    print("\n--------------------------------------");
    print(" PD-LS Base by luXuskerN");
    print(" Thanks to Breadfish forum for help");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/PDiTa", true) == 0){
    MoveObject(PDi_gate, 1586.809448, -1637.887817, 9.508661,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDiTz", true) == 0){
    MoveObject(PDi_gate, 1586.805298, -1637.933228, 15.063852,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDgTa", true) == 0){
    MoveObject(PDg_gate, 1549.556641, -1621.666504, 6.171937,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDgTz", true) == 0){
    MoveObject(PDg_gate, 1549.543945, -1621.659546, 12.321878,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDTa", true) == 0){
    MoveObject(PDt_gate, 1577.428345, -1635.706421, 14.001038,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDTz", true) == 0){
    MoveObject(PDt_gate, 1577.175049, -1637.303955, 13.986071,8);
    return 1;
    }
    return 0;
    }

    probiers mal so.


  • Ich verzweifle ?(



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net


  • kommt immer wieder der selbe Error....
    des ist doch nicht normal ey.



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net


  • boahhh
    //das oben rein
    #pragma tabsize 0
    // und mach die klammern zu
    public OnFilterScriptInit()
    {
    PDi_gate = CreateObject(980, 1586.805298, -1637.933228, 15.063852, 0.000000, 0.000000, 0.000000);
    PDg_gate = CreateObject(987, 1549.543945, -1621.659546, 12.321878, 0.000000, 0.000000, -89.999981);
    PDt_gate = CreateObject(1965, 1577.175049, -1637.303955, 13.986071, 0.000000, 0.000000, 0.000000);
    return 1;
    }

  • Öhh genau das hab ich doch lol?



    Matze™ ‎(19:05):
    Brauchst webspace, Fillezilla, MYSQL aktiv, FTP aktiv und natürlich wbblite2
    und möglichst kenntnisse^^


    dennyy06 ‎(19:13):
    ich find FTP aktiv net


  • bist du blind? guck mal dein filterscript an diese 2 sachen sind garnet mal drin
    fertig für dich
    #include <a_samp>


    // This is a comment
    // uncomment the line below if you want to write a filterscript
    #define FILTERSCRIPT


    #define COLOR_GRAD1 0xB4B5B7FF
    #define COLOR_GRAD2 0xBFC0C2FF
    #define COLOR_GRAD3 0xCBCCCEFF
    #define COLOR_GRAD4 0xD8D8D8FF
    #define COLOR_GRAD5 0xE3E3E3FF
    #define COLOR_GRAD6 0xF0F0F0FF
    #define COLOR_GREY 0xAFAFAFAA
    #define COLOR_GREEN 0x33AA33AA
    #define COLOR_RED 0xAA3333AA
    #define COLOR_LIGHTRED 0xFF6347AA
    #define COLOR_LIGHTBLUE 0x33CCFFAA
    #define COLOR_LIGHTGREEN 0x9ACD32AA
    #define COLOR_YELLOW 0xFFFF00AA
    #define COLOR_YELLOW2 0xF5DEB3AA
    #define COLOR_WHITE 0xFFFFFFAA
    #define COLOR_FADE1 0xE6E6E6E6
    #define COLOR_FADE2 0xC8C8C8C8
    #define COLOR_FADE3 0xAAAAAAAA
    #define COLOR_FADE4 0x8C8C8C8C
    #define COLOR_FADE5 0x6E6E6E6E
    #define COLOR_PURPLE 0xC2A2DAAA
    #define COLOR_DBLUE 0x2641FEAA
    #define COLOR_ALLDEPT 0xFF8282AA
    #define COLOR_NEWS 0xFFA500AA
    #define COLOR_OOC 0xE0FFFFAA


    #if defined FILTERSCRIPT
    new PDi_gate;
    new PDg_gate,
    new PDt_gate;
    // neu (Tore, usw.)



    public OnFilterScriptInit()
    {
    PDi_gate = CreateObject(980, 1586.805298, -1637.933228, 15.063852, 0.000000, 0.000000, 0.000000);
    PDg_gate = CreateObject(987, 1549.543945, -1621.659546, 12.321878, 0.000000, 0.000000, -89.999981);
    PDt_gate = CreateObject(1965, 1577.175049, -1637.303955, 13.986071, 0.000000, 0.000000, 0.000000);
    return 1;
    }





    print("\n--------------------------------------");
    print(" PD-LS Base by luXuskerN");
    print(" Thanks to Breadfish forum for help");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    CreateObject(8210, 1567.521484, -1602.737427, 15.750465, 0.000000, 0.000000, 180.00002);
    CreateObject(987, 1539.833862, -1602.321167, 12.574196, 0.000000, 0.000000, -89.999981);
    CreateObject(987, 1539.714111, -1617.598511, 12.546875, 0.000000, 0.000000, 0.000000);
    CreateObject(987, 1539.858887, -1605.918213, 12.526399, 0.000000, 0.000000, -89.999981);
    CreateObject(987, 1596.104370, -1637.903320, 12.466118, 0.000000, 0.000000, -360.00004);
    CreateObject(985, 1550.835449, -1614.506958, 14.093480, 0.000000, 0.000000, 270.000001);
    CreateObject(986, 1550.814331, -1606.539917, 14.093480, 0.000000, 0.000000, 270.000001);
    CreateObject(3749, 1548.800171, -1627.594482, 18.241226, 0.000000, 0.000000, -89.999981);
    CreateObject(8154, 1566.227417, -1629.381836, 15.647902, 0.000000, 0.000000, 89.999981);


    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }




    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/PDiTa", true) == 0){
    MoveObject(PDi_gate, 1586.809448, -1637.887817, 9.508661,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDiTz", true) == 0){
    MoveObject(PDi_gate, 1586.805298, -1637.933228, 15.063852,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDgTa", true) == 0){
    MoveObject(PDg_gate, 1549.556641, -1621.666504, 6.171937,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDgTz", true) == 0){
    MoveObject(PDg_gate, 1549.543945, -1621.659546, 12.321878,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDTa", true) == 0){
    MoveObject(PDt_gate, 1577.428345, -1635.706421, 14.001038,8);
    return 1;
    }
    if (strcmp(cmdtext, "/PDTz", true) == 0){
    MoveObject(PDt_gate, 1577.175049, -1637.303955, 13.986071,8);
    return 1;
    }
    return 0;
    }

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen