Beiträge von Tillmann-ger

    Ist die erste Zahl da der Car Type?


    PS:


    Da stehen aber nicht alle irgendwie ...


    AddStaticVehicleEx(427,1558.9238,-1710.6760,6.0225,0.1176,0,1,15000); // Polizei Entforcer
    AddStaticVehicleEx(523,1558.4127,-1692.4966,5.4617,269.3543,0,79,15000); // Cop Bike
    AddStaticVehicleEx(523,1558.2843,-1694.1934,5.4666,268.1439,0,79,15000); // Cop Bike
    AddStaticVehicleEx(523,1558.2507,-1695.6759,5.4669,268.7436,0,79,15000); // Cop Bike
    AddStaticVehicleEx(523,1558.3004,-1697.2488,5.4689,270.2411,0,79,15000); // Cop Bike
    AddStaticVehicleEx(596,1564.9825,-1710.0402,5.6108,1.6711,0,1,15000); // Cop Car
    AddStaticVehicleEx(596,1574.6807,-1710.2887,5.6107,359.6369,0,1,15000); // Cop Car
    AddStaticVehicleEx(596,1578.9203,-1710.3721,5.6123,0.7339,0,1,15000); // Cop Car
    AddStaticVehicleEx(596,1601.4095,-1710.1438,5.6121,45.7686,0,1,15000); // Cop Car
    AddStaticVehicleEx(490,1544.6460,-1650.9828,6.0197,89.5018,0,0,15000); // FBI Auto
    AddStaticVehicleEx(490,1544.6648,-1655.3164,6.0183,90.1886,0,0,15000); // FBI Auto
    AddStaticVehicleEx(490,1544.7019,-1658.8824,6.0188,90.4303,0,0,15000); // FBI Auto
    AddStaticVehicleEx(528,1544.0044,-1645.7543,5.9321,133.8494,0,0,15000); // FBI Auto
    AddStaticVehicleEx(601,1530.4664,-1644.8015,5.6494,178.0246,0,0,15000); // FBI Auto
    AddStaticVehicleEx(425,-1308.8687,496.2820,18.8065,33.5535,0,0,15000); // Army Hunter
    AddStaticVehicleEx(425,-1295.4224,496.8665,18.8097,43.0164,0,0,15000); // Army Hunter
    AddStaticVehicleEx(548,-1255.1844,501.4903,19.8583,90.4923,0,0,15000); // Army Hunter
    AddStaticVehicleEx(520,-1457.1436,507.4208,18.9844,270.0844,0,0,15000); // Army Hydra
    AddStaticVehicleEx(520,-1413.6415,491.0544,18.9547,357.5139,0,0,15000); // Army Hydra
    AddStaticVehicleEx(433,-1374.4115,479.5290,7.6242,89.8480,0,0,15000); // Army Barack
    AddStaticVehicleEx(433,-1362.4707,479.6533,7.6242,90.3531,0,0,15000); // Army Barack
    AddStaticVehicleEx(432,-1331.1401,444.3053,7.1991,269.7270,0,0,15000); // Army Panzer
    AddStaticVehicleEx(470,-1364.4933,454.8912,7.1808,0.8638,0,0,15000); // Army Patriot
    AddStaticVehicleEx(470,-1368.3396,454.7429,7.1815,0.7593,0,0,15000); // Army Patriot
    AddStaticVehicleEx(470,-1360.2849,454.9273,7.1797,358.6028,0,0,15000); // Army Patriot
    AddStaticVehicleEx(416,1179.4185,-1308.3140,13.9190,268.8478,1,3,15000); // Medic Auto
    AddStaticVehicleEx(416,1178.8174,-1339.3446,14.0133,269.5827,1,3,15000); // Medic Auto
    AddStaticVehicleEx(488,-2026.9524,482.7870,35.3491,177.0838,1,2,15000); // News Heli
    AddStaticVehicleEx(582,-2031.8383,458.6757,35.2283,359.8690,1,2,15000); // News Van
    AddStaticVehicleEx(582,-2022.7599,458.5404,35.2281,0.3456,1,2,15000); // News Van
    AddStaticVehicleEx(438,-1986.8763,107.3983,27.6129,359.2186,6,1,15000); // Taxi Auto
    AddStaticVehicleEx(438,-1986.8488,114.5042,27.6091,359.1070,6,1,15000); // Taxi Auto
    AddStaticVehicleEx(438,-1993.9681,98.5053,27.6098,270.4524,6,1,15000); // Taxi Auto
    AddStaticVehicleEx(593,-1429.2843,-505.8203,13.7824,205.7709,-1,-1,60000);//Airport SF
    AddStaticVehicleEx(593,-1462.4779,-524.2803,13.7832,204.8137,-1,-1,60000);//Airport SF
    AddStaticVehicleEx(593,1907.7614,-2624.4097,13.5416,53.1810,-1,-1,60000);//Airport LS
    AddStaticVehicleEx(593,1887.0736,-2627.6543,13.5394,52.6116,-1,-1,60000);//Airport LS
    AddStaticVehicleEx(513,-1354.3270,-466.5467,13.7827,162.0134,-1,-1,60000);//Airport SF
    AddStaticVehicleEx(513,-1390.3510,-482.7985,13.7883,250.3124,-1,-1,60000);//Airport SF
    AddStaticVehicleEx(513,1835.3215,-2624.1938,13.5405,56.0569,-1,-1,60000);//Airport LS
    AddStaticVehicleEx(513,1813.2893,-2625.6296,13.5394,53.2858,-1,-1,60000);//Airport LS
    AddStaticVehicleEx(571,2286.2141,-2354.5000,12.8306,225.8705,-1,-1,60000); // kart
    AddStaticVehicleEx(571,2279.9412,-2348.4141,12.8312,225.8585,-1,-1,60000); // kart
    AddStaticVehicleEx(571,2291.7932,-2345.5356,12.8305,227.3060,-1,-1,60000); // kart
    AddStaticVehicleEx(571,2287.5615,-2341.6433,12.8306,226.5350,-1,-1,60000); // kart
    AddStaticVehicleEx(571,2299.6785,-2338.3186,12.8307,224.3563,-1,-1,60000); // kart
    AddStaticVehicleEx(571,2295.3887,-2334.9448,12.8307,227.9102,-1,-1,60000); // kart
    CreateVehicle(494,-1401.0436,-210.0052,1042.9913,1.6623,1,0,60000); //hotring 116
    CreateVehicle(494,-1400.4019,-219.9365,1043.0348,5.3554,1,3,60000); //hotring
    CreateVehicle(494,-1394.4932,-207.7917,1042.9963,3.6872,0,6,60000); //hotring
    CreateVehicle(494,-1393.7854,-217.9354,1043.0325,2.9556,1,2,60000); //hotring
    CreateVehicle(468,-1445.6392,-592.3033,1055.7831,90.2133,-1,-1,60000); //bike 120
    CreateVehicle(468,-1433.1708,-592.4930,1055.6533,92.4067,-1,-1,60000); //bike
    CreateVehicle(468,-1448.5325,-584.4943,1055.4949,95.5400,-1,-1,60000); //bike
    CreateVehicle(468,-1434.8973,-585.1266,1055.2488,91.1533,-1,-1,60000); //bike
    CreateVehicle(468,-1449.2814,1610.7823,1052.5313,272.9406,-1,-1,60000); // bike 124
    CreateVehicle(468,-1453.8767,1611.2418,1052.5313,89.0355,-1,-1,60000); // bike
    CreateVehicle(468,-1454.4746,1614.3342,1052.5313,86.8422,-1,-1,60000); // bike
    CreateVehicle(468,-1449.5795,1614.0684,1052.5313,269.2039,-1,-1,60000); // bike
    CreateVehicle(514,-77.5039,-1108.1729,1.6683,161.8915,-1,-1,60000); // truck
    CreateVehicle(514,-72.3507,-1109.7822,1.6670,161.7769,-1,-1,60000); // truck
    CreateVehicle(514,-67.0126,-1111.7156,1.6688,160.4800,-1,-1,60000); // truck
    CreateVehicle(435,-51.0638,-1135.2831,1.0781,68.3320,-1,-1,60000); // trailer
    CreateVehicle(435,-53.6230,-1139.7546,1.0781,67.5604,-1,-1,60000); // trailer
    CreateVehicle(435,-55.0517,-1144.3676,0.8018,68.1347,-1,-1,60000); // trailer
    AddStaticVehicleEx(487,-2440.2686,523.2761,34.3461,357.2161,0,0,60000); // HOTMA HELI
    AddStaticVehicleEx(522,-2405.4080,539.9506,29.4965,87.8593,0,0,60000); // HOTMA NRG
    AddStaticVehicleEx(522,-2405.4097,538.1409,29.4914,93.5598,0,0,60000); // HOTMA NRG
    AddStaticVehicleEx(522,-2405.3193,536.3078,29.4956,91.4794,0,0,60000); // HOTMA NRG
    AddStaticVehicleEx(522,-2405.4771,534.5428,29.4999,89.1544,0,0,60000); // HOTMA NRG
    AddStaticVehicleEx(560,-2413.7849,539.9406,29.6346,89.5326,0,0,60000); // HOTMA SULTAn
    AddStaticVehicleEx(560,-2414.2505,535.8107,29.6333,78.1531,0,0,60000); // HOTMA SULTAn
    AddStaticVehicleEx(560,-2415.2432,532.0240,29.6291,68.4726,0,0,60000); // HOTMA SULTAn
    AddStaticVehicleEx(560,-2417.0437,528.5394,29.6348,58.5979,0,0,60000); // HOTMA SULTAn
    AddStaticVehicleEx(560,-2418.9885,524.8919,29.6349,52.8593,0,0,60000); // HOTMA SULTAn
    AddStaticVehicleEx(521,1809.8522,-1149.6531,23.4102,269.9958,0,0,60000); // LCN Bike
    AddStaticVehicleEx(521,1809.9199,-1147.7668,23.4736,272.4187,0,0,60000); // LCN Bike
    AddStaticVehicleEx(521,1810.1289,-1145.8558,23.5403,269.5631,0,0,60000); // LCN Bike
    AddStaticVehicleEx(521,1817.2997,-1149.6964,23.4316,86.7746,0,0,60000); // LCN Bike
    AddStaticVehicleEx(409,1794.7665,-1097.4514,23.8807,268.7043,0,0,60000); // LCN Limo
    AddStaticVehicleEx(482,1794.2417,-1104.8828,24.2015,1.4281,0,0,60000); // LCN Burito
    AddStaticVehicleEx(482,1797.3136,-1104.7064,24.1957,2.3828,0,0,60000); // LCN Burito
    AddStaticVehicleEx(507,1802.5295,-1104.4546,23.9031,0.3803,0,0,60000); // LCN Burito
    AddStaticVehicleEx(507,1806.5657,-1104.4064,23.9029,359.9135,0,0,60000); // LCN Burito
    AddStaticVehicleEx(487,1842.5664,-1107.0122,41.7481,270.7460,0,0,60000); // LCN HELI
    AddStaticVehicleEx(487,1842.8508,-1082.5479,41.7482,266.0286,0,0,60000); // LCN HELI


    AddStaticVehicleEx(510,1761.9646,-1346.3702,15.3563,271.4281,0,0,60000); // NOOB BIKE
    AddStaticVehicleEx(510,1759.9194,-1346.4258,15.3538,264.9243,0,0,60000); // NOOB BIKE
    AddStaticVehicleEx(510,1757.7296,-1346.4403,15.3561,269.4410,6,0,60000); // NOOB BIKE
    AddStaticVehicleEx(510,1761.6812,-1353.8517,15.3610,268.7524,6,0,60000); // NOOB BIKE
    AddStaticVehicleEx(510,1758.7628,-1353.9045,15.3618,270.9303,3,0,60000); // NOOB BIKE
    AddStaticVehicleEx(510,1756.2128,-1353.9933,15.3611,270.3407,3,0,60000); // NOOB BIKE
    AddStaticVehicleEx(529,2482.0435,-1692.3237,13.1527,353.3695,86,86,60000); // groove street auto
    AddStaticVehicleEx(529,2505.6563,-1695.6915,13.1861,359.5263,86,86,60000); // groove street auto garage
    AddStaticVehicleEx(529,2488.4976,-1684.2084,13.0524,90.4604,86,86,60000); // groove street auto
    AddStaticVehicleEx(529,2469.0037,-1671.8552,13.0362,13.0496,86,86,60000); // groove street auto
    AddStaticVehicleEx(522,1416.7454,-817.6299,74.3941,244.1741,1,3,1); // CAMERA NRG
    AddStaticVehicleEx(578,1096.5266,-1187.4104,18.9217,180.7599,1,0,100000); // FAHRSCHUHLE LKW
    AddStaticVehicleEx(522,1113.9683,-1191.0393,17.7222,185.3813,1,1,100000); // FAHR NRG
    AddStaticVehicleEx(522,1112.5928,-1191.3220,17.7207,183.9710,1,1,100000); // FAHR NRG
    AddStaticVehicleEx(522,1111.0244,-1191.0887,17.7507,171.9918,1,1,100000); // FAHR NRG
    AddStaticVehicleEx(469,1145.0568,-1172.4396,32.0410,184.6650,1,1,100000); // FAHR HELI
    AddStaticVehicleEx(469,1136.5627,-1171.1257,32.0388,177.7471,1,1,100000); // FAHR HELI
    AddStaticVehicleEx(558,1094.1409,-1219.0222,17.4354,3.2913,1,1,100000); // FAHR CAR
    AddStaticVehicleEx(558,1100.1235,-1219.0878,17.4347,0.9647,1,1,100000); // FAHR CAR
    AddStaticVehicleEx(586,-2058.1150,472.0859,34.6920,266.8053,7,7,100000); // NEWS CAR
    AddStaticVehicleEx(586,-2058.0708,470.8253,34.6921,268.7510,7,7,100000); // NEWS CAR
    AddStaticVehicleEx(497,1516.6683,-1660.0776,13.7202,1.3544,0,1,100000); // Cop heli

    Muss man dann im Script cPos oder sPos angeben?


    PS: Und was ist wenn ich z.b. die Koordinaten vom LSPD Eingang wissen will? Geht dann schlecht mit nem Auto xD

    Ich versteh das mit den Koordinaten nicht, wo z.b. ein Spieler spawned.


    Da sind nur so komische Zahlen, aber wie finde ich heraus, wo im Spiel welche Koordinaten sind?


    //edit


    Geht das mit S0beit, weil unten ändern sich immer so Zahlen, wenn man sich bewegt.

    Hallo,


    ich habe den Xtreme Godfather, wo es auch die Grove Street und so gibt.
    Nur leider geht /enter und /exit nur bei der Stadthalle, sonst nirgendswo!
    Weiß jemand, wie man den Bug beheben kann?

    Hallo,


    ich habe mal ein bisschen das Script verändert.
    Ich bekam aber immer wieder diese Fehlermeldung


    C:\Documents and Settings\-------\Desktop\xgf EDIT\xgf2.pwn(29528) : error 021: symbol already defined: "strtok"
    C:\Documents and Settings\-------\Desktop\xgf EDIT\xgf2.pwn(29542) : error 047: array sizes do not match, or destination array is too small
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.


    Das steht in und zwischen den Zeilen alles:


    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }


    Was ist daran falsch?


    Ich hab sogar schon bei den beiden Zeilen Copy&Past vom alten Backup versucht, aber negativ ...


    Ich bitte um eine schnelle Antwort!

    Wusste jetzt nicht genau, ob das hier hineingehört.


    Also ich habe mir den SA:MP Server für Windows heruntergeladen. Läuft auch alles ganz gut, habe sogar schon den Godfather drauf, ja, will ein GF Edit machen (ganz selbst scripten wäre für einen Anfänger zu viel ...).


    Soweit sogut, das mit Hamachi funktioniert auch, ich habe nur ein Problem:


    Wenn ich mich einlogge bei meinem Server laggen die Commands und auch die einfachen Textnachrichten sehr (manche Commands werden erst nach 30 Sekunden oder noch später ausgeführt). Das Spiel ruckelt nicht, nur der Chat laggt sehr!


    Woran könnte das liegen und wie krieg ich das Gelagge raus? Ich mein, wenn da 10 oder mehr User drauf sind, ... ich will mir nicht vorstellen, wie das dann laggt.