Beiträge von Rastla

    Bei mir geht der auch nicht, aber MTA ist doch eh voll easy ;D
    Ich hab diese Version von MTA: http://files.bastage.net/mta/MTASA-1.0.1.exe


    1. Gibt es mal ein Menü, auf das man mit F zugreifen kann
    2. Kann man Objekte/Autos spawnen
    3. GIBT'S EIN TUTORIAL, DAS MAN SICH ZU BEGINN ANSCHAUEN KANN!!!
    Objekt markieren: Bewegen mit Pfeiltaste | Höhe ändern mit Bild auf, Bild ab| Rotation mit Strg+Pfeiltasten|Genauere Einstellungen bei Doppelklick aufs Objekt



    Kennst du dich jetzt aus?^^

    CreateObject(17682, -3733.9871, 523.0595, 0.3168, 0.8594, 355.7028, 179.6224);
    CreateObject(17654, -3866.2446, 520.9765, 1.0249, 0.0000, 1.7189, 7.7349);
    CreateObject(17682, -3755.1111, 529.4922, 0.1935, 0.0000, 354.8434, 168.4496);
    CreateObject(8664, -3901.6460, 608.5879, 1.4083, 0.0000, 0.0000, 1.7189);
    CreateObject(8664, -3924.4868, 429.4004, 4.0186, 0.0000, 3.4377, 7.7349);
    CreateObject(8664, -3799.0459, 445.1698, 1.1303, 0.0000, 0.0000, 355.7028);
    CreateObject(8664, -3788.9771, 605.4556, 0.8177, 0.0000, 0.0000, 359.1406);
    CreateObject(8664, -3958.4199, 413.5740, 8.7930, 0.0000, 0.0000, 6.0161);
    CreateObject(8664, -4232.3018, 340.7320, 33.8702, 0.0000, 0.0000, 97.1163);
    CreateObject(4113, -4216.3013, 418.0859, 65.9019, 0.0000, 0.0000, 22.3454);
    CreateObject(4193, -4255.9614, 394.6441, 48.2031, 0.0000, 0.0000, 63.5983);
    CreateObject(4563, -4275.2417, 347.6129, 120.2513, 0.0000, 0.0000, 98.0797);
    CreateObject(4569, -4217.4292, 292.6734, 52.7676, 0.0000, 0.0000, 66.1766);
    CreateObject(4585, -4169.3545, 296.4395, 122.1778, 0.0000, 0.0000, 9.4538);
    CreateObject(4586, -4234.9927, 467.8860, 91.6591, 0.0000, 0.8594, 261.1648);
    CreateObject(4690, -4100.5571, 558.3212, 8.5472, 0.0000, 0.0000, 2.5783);
    CreateObject(5740, -3983.1819, 579.8809, -5.9346, 0.0000, 0.0000, 92.8192);
    CreateObject(6148, -3798.9751, 669.4139, 10.4531, 0.0000, 0.0000, 274.0563);
    CreateObject(6364, -3756.8977, 624.0694, 22.6237, 0.0000, 0.0000, 171.0281);
    CreateObject(6391, -3740.0083, 460.9188, 41.3834, 0.0000, 0.0000, 277.4941);
    CreateObject(6993, -3928.6758, 318.8776, 40.0765, 0.0000, 0.0000, 276.6346);
    CreateObject(9907, -4084.6938, 313.4896, 92.2762, 0.0000, 0.0000, 278.3535);
    CreateObject(10143, -3857.3286, 355.3480, 43.5510, 0.0000, 0.0000, 1.7189);
    CreateObject(10308, -3809.5205, 348.8809, 49.7608, 0.0000, 0.0000, 268.1442);
    CreateObject(4810, -4131.0283, 558.3820, 49.5311, 0.0000, 336.7952, 116.0240);
    CreateObject(617, -4006.7544, 487.4973, 8.7869, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3987.2935, 490.5938, 7.9204, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3966.2827, 494.3397, 6.7434, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3951.7986, 528.7365, 5.1117, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3916.6611, 535.0001, 2.8300, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3901.9197, 536.7043, 2.0266, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3932.8608, 532.3857, 3.5950, 0.0000, 0.0000, 0.0000);
    CreateObject(3515, -3984.6233, 474.6545, 9.3413, 0.0000, 0.0000, 0.0000);
    CreateObject(6965, -4212.8726, 350.4685, 37.5608, 0.0000, 0.0000, 0.0000);
    CreateObject(7268, -4247.8379, 309.9448, 73.7270, 0.0000, 0.0000, 279.2130);
    CreateObject(1257, -3942.6377, 529.5491, 5.7105, 0.0000, 0.0000, 89.3814);
    CreateObject(1257, -3975.3430, 493.0137, 8.6050, 356.5623, 0.0000, 276.7386);
    CreateObject(1284, -4010.2800, 506.5013, 12.1748, 0.0000, 0.0000, 94.5380);
    CreateObject(1290, -3984.6829, 507.7518, 13.7224, 0.0000, 0.0000, 281.7913);
    CreateObject(1290, -3918.4407, 517.6982, 9.1334, 0.0000, 0.0000, 276.6346);
    CreateObject(1290, -3787.4038, 530.2193, 7.5014, 0.0000, 0.0000, 275.7752);
    CreateObject(1290, -3828.1943, 528.2535, 8.6060, 0.0000, 0.0000, 275.7752);
    CreateObject(1294, -4189.2715, 371.6653, 38.4664, 0.0000, 0.0000, 171.8874);
    CreateObject(1294, -4160.8481, 328.1037, 38.4664, 0.0000, 0.0000, 274.1603);
    CreateObject(1346, -4171.8638, 374.3271, 35.2993, 0.0000, 0.0000, 276.6346);
    CreateObject(1320, -4031.3872, 507.8787, 10.4303, 0.0000, 0.0000, 182.2006);
    CreateObject(1321, -4007.6677, 341.2299, 10.3555, 0.0000, 0.0000, 183.9196);
    CreateObject(3471, -4210.2417, 361.2819, 35.2228, 0.0000, 0.0000, 0.0000);
    CreateObject(3471, -4206.8491, 341.0475, 35.2228, 0.0000, 0.0000, 8.5944);
    CreateObject(1280, -3981.3169, 477.0517, 9.2725, 0.0000, 0.0000, 305.8555);
    CreateObject(1280, -3988.7051, 474.9355, 9.2725, 0.0000, 0.0000, 248.2732);
    CreateObject(1280, -4202.3735, 351.7142, 34.4483, 0.0000, 0.0000, 191.5503);
    CreateObject(982, -3995.2749, 339.4406, 9.5547, 0.0000, 0.0000, 276.6346);
    CreateObject(982, -3726.2847, 416.8847, 1.8920, 0.0000, 0.0000, 355.7028);
    CreateObject(982, -3728.2139, 391.2764, 1.8920, 0.0000, 0.0000, 355.7028);
    CreateObject(982, -3742.5205, 371.0475, 1.8920, 0.0000, 0.0000, 85.9437);
    CreateObject(982, -3768.0054, 372.8196, 1.8920, 0.0000, 0.0000, 85.9437);
    CreateObject(983, -3729.4990, 374.4447, 1.8920, 0.0000, 0.0000, 356.5623);
    CreateObject(13679, -4088.4395, 521.6476, 14.9187, 0.0000, 0.0000, 150.4015);
    CreateObject(617, -3816.4736, 543.6083, 2.3312, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3814.5815, 511.5470, 2.4016, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3785.9128, 515.5484, 1.4406, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -3786.3333, 544.9246, 1.3204, 0.0000, 0.0000, 0.0000);
    CreateObject(7595, -3715.8857, 562.6729, 2.5715, 0.0000, 0.0000, 180.3777);
    CreateObject(7595, -3716.2927, 613.7351, 2.6003, 0.0000, 0.0000, 180.3777);
    CreateObject(9153, -3749.8723, 554.2816, 3.9995, 0.0000, 0.0000, 0.0000);
    CreateObject(974, -4121.0264, 461.6226, 31.9722, 0.0000, 0.0000, 94.5380);
    CreateObject(3472, -4167.6001, 454.1033, 33.7336, 0.0000, 0.0000, 0.0000);
    CreateObject(3472, -4174.5996, 439.5944, 34.2681, 0.0000, 0.0000, 341.0924);
    CreateObject(978, -4163.2778, 349.9346, 34.7885, 0.0000, 0.0000, 97.1163);
    CreateObject(978, -4159.7861, 321.5421, 34.6557, 0.0000, 0.0000, 97.1163);
    CreateObject(978, -4021.3535, 336.1915, 12.0073, 0.0000, 4.2972, 13.7510);
    CreateObject(1294, -4010.9111, 364.2095, 13.4022, 0.0000, 0.0000, 108.2891);
    CreateObject(1294, -4004.2600, 427.3135, 13.4509, 0.0000, 0.0000, 16.3294);
    CreateObject(1294, -4026.0388, 491.0417, 13.4640, 0.0000, 0.0000, 271.4780);
    CreateObject(3526, -4026.4280, 457.9574, 17.4395, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.4436, 457.9575, 18.5427, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.4729, 458.0336, 19.7110, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.3228, 458.2279, 20.8540, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.3201, 459.3497, 17.3883, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.2510, 460.7232, 17.4686, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.5615, 465.0263, 21.0232, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.4438, 463.8282, 21.0002, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.3867, 462.5939, 20.9949, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.3088, 462.6738, 19.7762, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.3638, 462.7204, 18.6642, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.6001, 462.7105, 17.3947, 0.0000, 85.0842, 17.1887);
    CreateObject(3526, -4026.8411, 464.0468, 17.3856, 0.0000, 85.0842, 12.0321);
    CreateObject(3526, -4026.8896, 465.7473, 17.3711, 0.0000, 85.0842, 12.0321);
    @//All Credits Goes To Namtih@
    @//Converted by Mujeeb@


    ___________


    grade ausprobiert, es geht! Jetzt brauch ich nurnoch object streamer, dass ich alle objekte rein kann...


    //edit: wichtiger is mir im mom aber das hier: EnableTirePopping() function is removed

    Meinst du das Standart oder diese Objekte da?


    Beim Standart ist nur ein Teil fest, und beim Rest fällt man durch


    //edit: 1. Teil


    @//All Credits Goes To Namtih@
    @//Converted by Mujeeb@
    CreateObject(3902, -4151.3584, 456.1431, 35.1244, 0.0000, 0.8594, 184.7789);
    CreateObject(3911, -4142.2754, 418.8865, 38.4674, 0.0000, 0.0000, 186.3936);
    CreateObject(3914, -4139.9536, 453.5455, 40.9697, 0.0000, 0.8594, 184.7788);
    CreateObject(3915, -4142.5835, 419.7931, 54.5029, 0.0000, 0.0000, 186.4978);
    CreateObject(3906, -4074.8950, 439.7358, 53.7228, 0.0000, 0.0000, 183.8154);
    CreateObject(3903, -4099.6431, 422.4722, 22.2480, 0.0000, 0.0000, 185.5343);
    CreateObject(3905, -4097.4673, 380.2828, 40.8356, 0.0000, 0.0000, 184.7790);
    CreateObject(3918, -4076.3184, 466.5855, 37.7165, 0.0000, 0.0000, 182.9560);
    CreateObject(3890, -4164.7729, 504.1211, 14.3516, 0.0000, 358.2811, 183.9197);
    CreateObject(3898, -4136.2427, 494.6757, 33.6510, 0.0000, 0.0000, 189.9354);
    CreateObject(3909, -4084.5054, 332.4171, 29.4058, 0.0000, 0.0000, 183.9195);
    CreateObject(3913, -3871.6179, 508.0817, 34.3625, 0.0000, 0.0000, 184.6748);
    CreateObject(3923, -4032.0168, 477.2040, 16.4413, 0.0000, 0.0000, 187.0123);
    CreateObject(3890, -4076.2769, 524.8839, 0.2555, 356.5623, 0.0000, 158.9957);
    CreateObject(3895, -3986.7356, 540.1113, 14.3959, 0.0000, 0.0000, 186.4979);
    CreateObject(3899, -4030.6606, 541.7645, 53.9820, 359.1406, 0.0000, 94.5381);
    CreateObject(17682, -2902.4956, 462.2449, 5.9654, 0.0000, 0.0000, 0.0000);
    CreateObject(18450, -2981.0142, 465.0567, 10.0149, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -2980.0254, 481.2136, 9.9973, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3059.8821, 486.0196, 10.0092, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3060.8787, 469.8738, 10.0269, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3139.5859, 490.7794, 9.9982, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3218.5483, 495.4571, 10.0351, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3298.3647, 500.2622, 10.0470, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3378.0171, 505.0692, 10.0340, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3457.7339, 509.8658, 10.0209, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3537.2732, 514.6528, 10.0188, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3616.6145, 519.4360, 10.0167, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3140.5486, 474.6786, 10.0388, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3219.7100, 479.4242, 10.0508, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3298.9697, 484.1918, 10.0627, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3378.3740, 488.9710, 10.0746, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3457.9028, 493.7198, 10.0866, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3537.6194, 498.5310, 10.0735, 0.0000, 0.0000, 356.5623);
    CreateObject(18450, -3617.4514, 503.3223, 10.0605, 0.0000, 0.0000, 356.5623);
    CreateObject(17682, -3694.6816, 521.5629, 2.4542, 0.8594, 5.1566, 181.3413);
    CreateObject(620, -3017.8347, 490.0789, 10.6102, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3019.8328, 460.1761, 10.6278, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3099.2520, 465.5486, 10.6398, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3098.6465, 495.2412, 10.6221, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3179.8083, 469.9555, 10.6017, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3177.7031, 499.9807, 10.6111, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3258.0823, 474.9487, 10.6637, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3257.1111, 505.0526, 10.5730, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3336.7788, 509.5567, 10.6350, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3337.5605, 479.7679, 10.6756, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3417.5359, 484.3310, 10.6875, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3416.4990, 514.5972, 10.6469, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3497.0059, 489.4852, 10.6995, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3495.7920, 518.9650, 10.6338, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3575.0671, 523.9026, 10.6317, 0.0000, 0.0000, 0.0000);
    CreateObject(620, -3576.9241, 493.9897, 10.6864, 0.0000, 0.0000, 0.0000);
    CreateObject(648, -3654.3105, 528.1806, 10.5903, 0.0000, 0.0000, 0.0000);
    CreateObject(648, -3657.0117, 498.6337, 10.6341, 0.0000, 0.0000, 264.6025);
    CreateObject(1290, -2942.9995, 470.6039, 14.4570, 0.0000, 0.0000, 83.3654);
    CreateObject(1290, -3019.8066, 475.3374, 17.0847, 0.0000, 0.0000, 83.3654);
    CreateObject(1290, -3099.3777, 480.1384, 17.1784, 0.0000, 0.0000, 91.1002);
    CreateObject(1290, -3178.8743, 484.7432, 17.1031, 0.0000, 0.0000, 91.1002);
    CreateObject(1290, -3258.0229, 489.6580, 17.2043, 0.0000, 0.0000, 91.1002);
    CreateObject(1290, -3337.7930, 494.5059, 17.2319, 0.0000, 0.0000, 91.1002);
    CreateObject(1290, -3417.7722, 499.3459, 17.2032, 0.0000, 0.0000, 91.1002);
    CreateObject(1290, -3496.8105, 504.2923, 17.2558, 0.0000, 0.0000, 91.1002);
    CreateObject(1290, -3576.0908, 508.9298, 17.2427, 0.0000, 0.0000, 91.1002);
    CreateObject(1290, -3655.5918, 513.7090, 17.2296, 0.0000, 0.0000, 91.1002);
    CreateObject(1283, -2941.4348, 481.1383, 13.6199, 0.0000, 0.0000, 85.9437);
    CreateObject(1283, -2942.3765, 460.7005, 13.6375, 0.0000, 0.0000, 267.1808);
    CreateObject(3715, -3655.0049, 513.4731, 19.4448, 0.0000, 0.0000, 86.8031);
    CreateObject(3715, -2941.2234, 470.6418, 19.5433, 0.0000, 0.0000, 86.8031);
    CreateObject(18450, -4013.0554, 449.7493, 8.5890, 0.0000, 0.0000, 276.6346);
    CreateObject(18450, -4007.8108, 404.6091, 8.5760, 0.0000, 0.0000, 276.6346);
    CreateObject(18450, -4122.9668, 340.5690, 25.9541, 0.0000, 11.1727, 6.8755);
    CreateObject(17654, -4080.9919, 343.0933, 16.8937, 0.0000, 8.5944, 9.4538);
    CreateObject(17654, -3929.9814, 514.4377, 2.3384, 0.0000, 5.1566, 9.4538);
    CreateObject(17654, -3821.9021, 529.3926, -1.0197, 0.0000, 1.7189, 7.7349);

    CreateStreamObject(modelid,Float:xpos,Float:ypos,Float:zpos,Float:xrot,Float:yrot,Float:zrot,Float:viewdist) - Create a streamed object
    DestroyStreamObject(id) - Destroy a streamed object
    GetStreamObjectPos(id,&Float:xpos,&Float:ypos,&Float:zpos) - Get the position of a streamed object
    GetStreamObjectRot(id,&Float:xrot,&Float:yrot,&Float:zrot) - Get the rotation of a streamed object
    SetStreamObjectPos(id,Float:xpos,Float:ypos,Float:zpos) - Set the position of a streamed object
    SetStreamObjectRot(id,Float:xrot,Float:yrot,Float:zrot) - Set the rotation of a streamed object
    AttachStreamObjectToPlayer(id,playerid,Float:xoff,Float:yoff,Float:zoff,Float:xrot,Float:yrot,Float:zrot) - Attach a streamed object to a player
    MoveStreamObject(id,Float:movx,Float:movy,Float:movz,Float:speed) - Move a streamed object
    MidoStreamDisconnect(playerid) - Goes under OnPlayerDisconnect


    Muss ich dann einfach vor jedes CreateObject Stream setzen? also CreateStreamObject(...)


    CreateObject(...)




    Quelle von dem Auszug:
    http://forum.sa-mp.com/index.php?topic=62450.0



    //edit:
    Hab mal Objekte gezählt:


    Im Gamemode: 165
    In nem Filterscript: 34


    |164
    |+34
    |198


    Also ~200 Objekte :D


    //edit: Hatte noch nen Filterscript übersehn, den ich jetzt aber rausgenommen hab. wären so über 300 Objekte gewesen
    Kann pls wer nen Link zu nem guten Tutorial fürs Objekte streamen posten?

    Nach den beiden else gehört doch noch eingerückt oder nicht?



    Ne Frage:

    Warum steht das bei manchen?

    Welche Zeile ist das?
    Die LooseIdentiation ist, dass du einfach die sachen mit Tab-Taste richten musst^^
    z.B.

    if (strcmp(cmdtext, "/lsopengate", true) == 0)
    {
    if(PlayerToPoint(12, playerid, -2432.849365, 496.752716, 38.108955))
    MoveObject(lspd_gate,1588.591675, -1638.115234, 6.670362,4);


    if (strcmp(cmdtext, "/lsopengate", true) == 0)
    {
    if(PlayerToPoint(12, playerid, -2432.849365, 496.752716, 38.108955))
    MoveObject(lspd_gate,1588.591675, -1638.115234, 6.670362,4);
    SetTimer("GateCloselspd_gate", 7000, 0);
    GameTextForPlayer(playerid,"LSPD geoeffnet",5000, 1);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Tor wird in 7 Sekunden Automatisch geschlossen.");
    }
    else
    SendClientMessage(playerid, COLOR_RED,"Du bist nicht in der nähe des Tores!");
    {


    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pAdmin] >= 4)
    MoveObject(lspd_gate,1588.591675, -1638.115234, 6.670362,4);
    SetTimer("GateCloselspd_gate", 7000, 0);
    GameTextForPlayer(playerid,"LSPD geoeffnet",5000, 1);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Tor wird in 7 Sekunden Automatisch geschlossen.");
    }
    else
    {
    SendClientMessage(playerid, COLOR_RED,"Du bist kein Cop/FBI/Army");
    return 1;
    }


    So müsste es klappen

    Ich wüsste da eine amerikanische Version, wo man deutsch einstellen kann, aber ich weiß nicht ob ich den Link hier posten darf, deswegen kann ich da nicht helfen

    lol 4fach Post xD


    Also:


    das else bezieht sich (glaub ich) in dem Fall auf beides.
    D.h. dass:
    Wenn man dort(koordinate-playeristopoint) und zu dieser Fraktion gehört, dann passiert das.
    Wenn man nicht dort ist oder nicht zu dieser Fraktion gehört, dann passiert: ...




    Hoffe ich konnte dir helfen