dcmd unkown command // GELÖST

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 Leute,
    Nein ich habe nix lösendes gefunden in der Suche !
    könnte mir jemand also pls sagen wieso immer unknown command kommt ?


    #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1


    dcmd(int,3,cmdtext);
    dcmd_int(playerid,params[])
    {
    switch(strval(params))
    {
    case 0:
    {
    SetPlayerPos(playerid,1961.27,1288.98,10.813);
    SetPlayerInterior(playerid,0);
    }
    case 1:
    {
    SetPlayerInterior(playerid,3);//Interior
    SetPlayerPos(playerid,235.3054,1186.6835,1080.2578);
    }
    case 2:
    {
    SetPlayerInterior(playerid,2);//Interior
    SetPlayerPos(playerid,225.756989,1240.000000,1082.149902);
    }
    case 3:
    {
    SetPlayerInterior(playerid,1);//Interior
    SetPlayerPos(playerid,223.1929,1287.0780,1082.1406);
    }
    case 4:
    {
    SetPlayerInterior(playerid,7);//Interior
    SetPlayerPos(playerid,225.630997,1022.479980,1084.069946);
    }
    case 5:
    {
    SetPlayerInterior(playerid,15);//Interior
    SetPlayerPos(playerid,295.138977,1474.469971,1080.519897);
    }
    case 6:
    {
    SetPlayerInterior(playerid,15);//Interior
    SetPlayerPos(playerid,328.1066,1478.0106,1084.4375);
    }
    case 7:
    {
    SetPlayerInterior(playerid,15);//Interior
    SetPlayerPos(playerid,385.803986,1471.769897,1080.209961);
    }
    case 8:
    {
    SetPlayerInterior(playerid,15);//Interior
    SetPlayerPos(playerid,375.971985,1417.269897,1081.409912);
    }
    case 9:
    {
    SetPlayerInterior(playerid,2);//Interior
    SetPlayerPos(playerid,490.810974,1401.489990,1080.339966);
    }
    case 10:
    {
    SetPlayerInterior(playerid,2);//Interior
    SetPlayerPos(playerid,446.8264,1397.3435,1084.3047);
    }
    case 11:
    {
    SetPlayerInterior(playerid,5);//Interior
    SetPlayerPos(playerid,227.722992,1114.389893,1081.189941);
    }
    case 12:
    {
    SetPlayerInterior(playerid,4);//Interior
    SetPlayerPos(playerid,260.983978,1286.549927,1080.299927);
    }
    case 13:
    {
    SetPlayerInterior(playerid,4);//Interior
    SetPlayerPos(playerid,221.7330,1140.5146,1082.6094);
    }
    case 14:
    {
    SetPlayerInterior(playerid,10);//Interior
    SetPlayerPos(playerid,27.132700,1341.149902,1084.449951);
    }
    case 15:
    {
    SetPlayerInterior(playerid,4);//Interior
    SetPlayerPos(playerid,-262.601990,1456.619995,1084.449951);
    }
    case 16:
    {
    SetPlayerInterior(playerid,5);//Interior
    SetPlayerPos(playerid,22.778299,1404.959961,1084.449951);
    }
    case 17:
    {
    SetPlayerInterior(playerid,5);//Interior
    SetPlayerPos(playerid,140.2267,1365.9246,1083.8594);
    }
    case 18:
    {
    SetPlayerInterior(playerid,6);//Interior
    SetPlayerPos(playerid,234.045990,1064.879883,1084.309937);
    }
    case 19:
    {
    SetPlayerInterior(playerid,6);//Interior
    SetPlayerPos(playerid,-68.294098,1353.469971,1080.279907);
    }
    case 20:
    {
    SetPlayerInterior(playerid,15);//Interior
    SetPlayerPos(playerid,-285.548981,1470.979980,1084.449951);
    }
    case 21:
    {
    SetPlayerInterior(playerid,8);//Interior
    SetPlayerPos(playerid,-42.581997,1408.109985,1084.449951);
    }
    case 22:
    {
    SetPlayerInterior(playerid,9);//Interior
    SetPlayerPos(playerid,83.345093,1324.439941,1083.889893);
    }
    case 23:
    {
    SetPlayerInterior(playerid,9);//Interior
    SetPlayerPos(playerid,260.941986,1238.509888,1084.259888);
    }
    case 24:
    {
    SetPlayerInterior(playerid,1);//Interior
    SetPlayerPos(playerid,244.411987,305.032990,999.231995);
    }
    case 25:
    {
    SetPlayerInterior(playerid,2);//Interior
    SetPlayerPos(playerid,266.4991,304.9922,999.1484);
    }
    case 26:
    {
    SetPlayerInterior(playerid,3);//Interior
    SetPlayerPos(playerid,291.282990,310.031982,999.154968);
    }
    case 27:
    {
    SetPlayerInterior(playerid,4);//Interior
    SetPlayerPos(playerid,302.181000,300.722992,999.231995);
    }
    case 28:
    {
    SetPlayerInterior(playerid,5);//Interior
    SetPlayerPos(playerid,322.197998,302.497986,999.231995);
    }
    case 29:
    {
    SetPlayerInterior(playerid,6);//Interior
    SetPlayerPos(playerid,346.870025,309.259033,999.155700);
    }
    case 30:
    {
    SetPlayerInterior(playerid,3);//Interior
    SetPlayerPos(playerid,2495.6416,-1692.2361,1014.7422);
    }
    case 31:
    {
    SetPlayerInterior(playerid,5);//Interior
    SetPlayerPos(playerid,1263.079956,-785.308960,1091.959961);
    }
    case 32:
    {
    SetPlayerInterior(playerid,2);//Interior
    SetPlayerPos(playerid,2468.4502,-1698.4801,1013.5078);
    }
    case 33:
    {
    SetPlayerInterior(playerid,1);//Interior
    SetPlayerPos(playerid,2526.459961,-1679.089966,1015.500000);
    }
    case 34:
    {
    SetPlayerInterior(playerid,2);//Interior
    SetPlayerPos(playerid,2543.659912,-1303.629883,1025.069946);
    }
    case 35:
    {
    SetPlayerInterior(playerid,6);//Interior
    SetPlayerPos(playerid,744.542969,1437.669922,1102.739990);
    }
    case 36:
    {
    SetPlayerInterior(playerid,3);//Interior
    SetPlayerPos(playerid,964.106995,-53.205498,1001.179993);
    }
    case 37:
    {
    SetPlayerInterior(playerid,2);//Interior
    SetPlayerPos(playerid,2237.6667,-1080.9207,1049.0234);
    }
    case 38:
    {
    SetPlayerInterior(playerid,8);//Interior
    SetPlayerPos(playerid,2807.9172,-1174.4333,1025.5703);
    }
    case 39:
    {
    SetPlayerInterior(playerid,5);//Interior
    SetPlayerPos(playerid,318.7010,1114.7716,1083.8828);
    }
    case 40:
    {
    SetPlayerInterior(playerid,12);//Interior
    SetPlayerPos(playerid,2324.3267,-1149.1440,1050.7101);
    }
    case 41:
    {
    SetPlayerInterior(playerid,12);//Interior
    SetPlayerPos(playerid,446.5014,507.0295,1001.4195);
    }
    case 42:
    {
    SetPlayerInterior(playerid,15);//Interior
    SetPlayerPos(playerid,2216.3398,-1150.5099,1025.7969);
    }
    case 43:
    {
    SetPlayerInterior(playerid,3);//Interior
    SetPlayerPos(playerid,322.19799,0.111030,1001.284484);
    }
    case 44:
    {
    SetPlayerInterior(playerid,12);//Interior
    SetPlayerPos(playerid,444.646911,508.239044,1001.419494);
    }
    case 45:
    {
    SetPlayerInterior(playerid,17);//Interior
    SetPlayerPos(playerid,-959.564392,1848.576782,9.000000);
    }
    case 46:
    {
    SetPlayerInterior(playerid,1);//Interior
    SetPlayerPos(playerid,2217.1077,-1076.1895,1050.4844);
    }
    case 47:
    {
    SetPlayerInterior(playerid,6);//Interior
    SetPlayerPos(playerid,2308.7424,-1212.2524,1049.0234);
    }
    case 48:
    {
    SetPlayerInterior(playerid,6);//Interior
    SetPlayerPos(playerid,2196.2883,-1204.3834,1049.0234);
    }
    case 49:
    {
    SetPlayerInterior(playerid,10);//Interior
    SetPlayerPos(playerid,2269.9668,-1210.4943,1047.5625);
    }
    case 50:
    {
    SetPlayerInterior(playerid,8);//Interior
    SetPlayerPos(playerid,2365.2502,-1135.3855,1050.8750);
    }
    case 51:
    {
    SetPlayerInterior(playerid,11);//Interior
    SetPlayerPos(playerid,2282.9756,-1140.0441,1050.8984);
    }
    case 52:
    {
    SetPlayerInterior(playerid,9);//Interior
    SetPlayerPos(playerid,2317.8743,-1026.5111,1050.2178);
    }
    case 53:
    {
    SetPlayerInterior(playerid,5);//Interior
    SetPlayerPos(playerid,1299.0787,-796.4944,1084.0078);
    }
    }
    return 1;
    }

    DDoS = Die dollsten ollen Sprüche :P


    Zitat

    Ich möchte hier den Lars gerne sehr loben.
    Er ist ein sehr netter kerl.
    Er hat es mir sofort gemacht..


    Zitat von Nachrichtenverlauf


    ;(


    Einmal editiert, zuletzt von BeHapper ()

  • ja :D



    Zitat

    Der Beitrag ist zu kurz. Der Beitrag muss mindestens 10 Zeichen lang sein und 3 Wörter enthalten.


    DANKE Fave <3
    hatte ausversehen dcmd(int,53,cmdtext); statt dcmd(int,3,cmdtext);


    danke :D


    PS: Fave 2011 :D

    DDoS = Die dollsten ollen Sprüche :P


    Zitat

    Ich möchte hier den Lars gerne sehr loben.
    Er ist ein sehr netter kerl.
    Er hat es mir sofort gemacht..


    Zitat von Nachrichtenverlauf


    ;(


  • nochmal als info:
    die 3 bei dcmd(int,3,cmdtext); steht dafür
    das int nur 3 bustaben hat. Würde es nun Interior heißen müsstest du:
    dcmd(interior,8,cmdtext); schreiben weil interior 8 bustaben hat.


    Lieben Gruß Qini