[SAMMELTHREAD] Kleine Scripting Fragen

Dein Problem konnte durch einen User gelöst werden? Bedank dich bei ihm indem du seinen Beitrag als Hilfreich markierst sowie einen Daumen oben dalässt
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 möchte gerne die args von ner funktion


    bsp:


    stock bla(...)


    in variablen speichern, damit ich die nachher bei


    bla2()CallLocalFunktion(asd,asd,HIERSTEHEHHABE!!!!!);


    Wär ganz nett wenn mir einer helfen könnte

  • Hallo,


    Ich habe diese Warnings und weis nicht was er meint.


    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9373) : warning 202: number of arguments does not match definition


    und hier die Zeilen


    exp1 = AddStaticVehicleEx(580,1424.2505,-1294.6066,13.3531,179.7389,126,126,60000); // exp- 580 1
    exp1 = AddStaticVehicleEx(580,1601.7463,-1814.2897,13.2323,267.3189,126,126,60000); // exp- 580 2
    exp1 = AddStaticVehicleEx(580,1231.7501,301.3601,19.4073,156.5979,126,126,60000); // exp- 580 3
    exp1 = AddStaticVehicleEx(580,245.1119,-19.3838,1.4035,90.4828,126,126,60000); // exp- 580 4
    exp1 = AddStaticVehicleEx(580,-1539.5955,-2744.2209,48.3332,171.0182,126,126,60000); // exp- 580 5
    exp1 = AddStaticVehicleEx(580,-2173.7014,-2534.5762,30.4134,140.9561,126,126,60000); // exp- 580 6
    exp1 = AddStaticVehicleEx(580,-1887.2239,-921.7913,31.8196,269.7531,126,126,60000); // exp- 580 7
    exp1 = AddStaticVehicleEx(580,-2640.0571,-55.3981,4.1321,359.4542,126,126,60000); // exp- 580 8
    exp1 = AddStaticVehicleEx(580,-2457.5208,1070.6917,55.5923,356.8714,126,126,60000); // exp- 580 9
    exp1 = AddStaticVehicleEx(580,-2271.9106,2297.3667,4.6163,89.8185,126,126,60000); // exp- 580 10
    exp1 = AddStaticVehicleEx(580,-1443.6592,2625.3042,55.6322,272.1523,126,126,60000); // exp- 580 11
    exp1 = AddStaticVehicleEx(580,-173.3213,2720.2319,62.2409,90.4414,126,126,60000); // exp- 580 12
    exp1 = AddStaticVehicleEx(580,1109.7195,2261.5488,10.6165,0.3137,126,126,60000); // exp- 580 13
    exp1 = AddStaticVehicleEx(580,2119.8967,1923.0186,10.4680,180.9321,126,126,60000); // exp- 580 14
    exp1 = AddStaticVehicleEx(580,2440.9636,1122.4594,10.6162,88.8825,126,126,60000); // exp- 580 15
    exp1 = AddStaticVehicleEx(580,2119.6143,2177.6782,10.4680,180.3173,126,126,60000); // exp- 580 16
    exp2 = AddStaticVehicleEx(496,2104.4172,2039.8004,10.5366,89.4979,126,126,60000); // exp- 496 1
    exp2 = AddStaticVehicleEx(496,1663.7675,1306.9373,10.5366,0.7138,126,126,60000); // exp- 496 2
    exp2 = AddStaticVehicleEx(496,1922.7552,697.8958,10.5367,0.1504,126,126,60000); // exp- 496 3
    exp2 = AddStaticVehicleEx(496,2279.4417,2.2999,27.1845,179.9341,126,126,60000); // exp- 496 4
    exp2 = AddStaticVehicleEx(496,2797.6069,-1576.1094,10.6437,88.6148,126,126,60000); // exp- 496 5
    exp2 = AddStaticVehicleEx(496,2658.6736,-1707.3961,9.0386,270.0291,126,126,60000); // exp- 496 6
    exp2 = AddStaticVehicleEx(496,1794.6329,-1931.5361,13.1036,179.8554,126,126,60000); // exp- 496 7
    exp2 = AddStaticVehicleEx(496,1084.2155,-1755.2540,13.1028,86.2088,126,126,60000); // exp- 496 8
    exp2 = AddStaticVehicleEx(496,-91.4709,-1196.0038,2.0456,348.7096,126,126,60000); // exp- 496 9
    exp2 = AddStaticVehicleEx(496,-1370.1017,-199.5052,5.7164,272.5628,126,126,60000); // exp- 496 10
    exp2 = AddStaticVehicleEx(496,-1670.6471,442.8689,6.8948,252.4236,126,126,60000); // exp- 496 11
    exp2 = AddStaticVehicleEx(496,-1687.8718,1015.7421,17.3021,93.2527,126,126,60000); // exp- 496 12
    exp2 = AddStaticVehicleEx(535,-1829.1031,1289.4800,31.6227,20.1280,126,126,60000); // exp- 535 1



    Ich hoffe ihr könnt mir helfen

    WEGEN MEINER RECHTSCHREIBUNG MÖCHTE ICH MICH ENDSCHULDIGEN ICH BIN LEGASTENIGER!!!!!!!!!!!!!

  • jetzt das prblem mit dem


    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition


    hier die zeilen


    SetVehiclePos(exp1,580,1424.2505,-1294.6066,13.3531,179.7389,126,126);


    Ich habe sie unter denn Ad...... , muss ich die wo anders hin machen??

    WEGEN MEINER RECHTSCHREIBUNG MÖCHTE ICH MICH ENDSCHULDIGEN ICH BIN LEGASTENIGER!!!!!!!!!!!!!

  • Habe ich nicht im Script


    habe bei Wiki


    etwas gewunden


    public OnVehicleSpawn(vehicleid)
    {
    printf("Vehicle %i spawned!",vehicleid);// <======das habe ich raus gelassen
    return 1;
    }

    Und habe diese meldungen
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37148) : warning 217: loose indentation

    WEGEN MEINER RECHTSCHREIBUNG MÖCHTE ICH MICH ENDSCHULDIGEN ICH BIN LEGASTENIGER!!!!!!!!!!!!!

  • habe es so ein gebaut


    public OnVehicleSpawn(vehicleid)
    {


    SetVehiclePos(exp1,580,1424.2505,-1294.6066,13.3531,179.7389,126,126);
    SetVehiclePos(exp1,580,1601.7463,-1814.2897,13.2323,267.3189,126,126);
    SetVehiclePos(exp1,580,1231.7501,301.3601,19.4073,156.5979,126,126);
    SetVehiclePos(exp1,580,245.1119,-19.3838,1.4035,90.4828,126,126);
    SetVehiclePos(exp1,580,-1539.5955,-2744.2209,48.3332,171.0182,126,126);
    SetVehiclePos(exp1,580,-2173.7014,-2534.5762,30.4134,140.9561,126,126);
    SetVehiclePos(exp1,580,-1887.2239,-921.7913,31.8196,269.7531,126,126);
    SetVehiclePos(exp1,580,-2640.0571,-55.3981,4.1321,359.4542,126,126);
    SetVehiclePos(exp1,580,-2457.5208,1070.6917,55.5923,356.8714,126,126); // exp- 580 9
    SetVehiclePos(exp1,580,-2271.9106,2297.3667,4.6163,89.8185,126,126); // exp- 580 10
    SetVehiclePos(exp1,580,-1443.6592,2625.3042,55.6322,272.1523,126,126); // exp- 580 11
    SetVehiclePos(exp1,580,-173.3213,2720.2319,62.2409,90.4414,126,126); // exp- 580 12
    SetVehiclePos(exp1,580,1109.7195,2261.5488,10.6165,0.3137,126,126); // exp- 580 13
    SetVehiclePos(exp1,580,2119.8967,1923.0186,10.4680,180.9321,126,126); // exp- 580 14
    SetVehiclePos(exp1,580,2440.9636,1122.4594,10.6162,88.8825,126,126); // exp- 580 15
    SetVehiclePos(exp1,580,2119.6143,2177.6782,10.4680,180.3173,126,126); // exp- 580 16

    return 1;
    }

    WEGEN MEINER RECHTSCHREIBUNG MÖCHTE ICH MICH ENDSCHULDIGEN ICH BIN LEGASTENIGER!!!!!!!!!!!!!

  • Hallo an alle mal wieder.


    Ich versuche die Export sache zu verbessern.


    Und zwar wollte ich es so machen das man nicht jedes car abgeben kann und das man feste autos die an verschiedene punkte spawnen.


    Bei Spiel:


    Man kann den Stafford als Export abgeben wenn man es gemacht hat und alle anderen fahrzeuge spawnt er an eine andere position.


    Nur irgend wie geht das nicht.



    Hier mal ein beispiel wie ich es gemacht habe.
    da wo die fahrzeuge stehen soll
    exp1 = AddStaticVehicleEx(580,1424.2505,-1294.6066,13.3531,179.7389,126,126,15); // exp- 580 1
    exp1 = AddStaticVehicleEx(580,1601.7463,-1814.2897,13.2323,267.3189,126,126,15); // exp- 580 2
    exp1 = AddStaticVehicleEx(580,1231.7501,301.3601,19.4073,156.5979,126,126,15); // exp- 580 3
    exp1 = AddStaticVehicleEx(580,245.1119,-19.3838,1.4035,90.4828,126,126,15); // exp- 580 4


    und das sollte ich auch ein fügen


    SetVehiclePos(261,1424.2505,-1294.6066,13.3531);// exp 1-1
    SetVehiclePos(262,1601.7463,-1814.2897,13.2323);// exp 1-2
    SetVehiclePos(263,1231.7501,301.3601,19.4073);// exp 1-3
    SetVehiclePos(264,245.1119,-19.3838,1.4035);// exp 1-4





    man hatte gesagt ich soll es so machen


    aber irgend wie geht das nicht die fahrzeuge sind alle da.

    WEGEN MEINER RECHTSCHREIBUNG MÖCHTE ICH MICH ENDSCHULDIGEN ICH BIN LEGASTENIGER!!!!!!!!!!!!!

    Einmal editiert, zuletzt von Gambit ()

  • Wie kann ich einer Variable -1 abziehen,


    ich habe einen Tiemr erstellet, mit einem Public, nur ich weiss nicht
    was ich bei dem Public hinschreiben soll :D


    Kann mir wer was sagen ?



    forward test(playerid);
    new test = 100;


    SetTimerEx("test", 220000, 0, "d", playerid);


    public test(playerid)
    {
    return 1;
    }


    Nun möchte, ich von der Variable test jedes Mal wen der Timer abgelaufen ist, -1 abziehen ?

    2 Mal editiert, zuletzt von xivo ()

  • Als erstes
    funktionsname != variablenname


    zweitens
    wenn du schon playerid verwendest sollte die variable auch playerbezogen sein



    forward test(playerid);
    new test2[MAX_PLAYERS] = 100;// darf nicht wie der forward heißen und spielerbezogen wenn du willst || alternativ SetPVarInt


    dann zum abziehen


    public test(playerid)
    {
    test[playerid] --;
    return 1;
    }


    oder


    public test(playerid)
    {
    test[playerid] -= 1;
    return 1;
    }

  • Moin leute, nun ich sitze gerade vor einem Automaten System, und hab erlich keine ahnung :D


    Also , wen man am Automaten ist, öffnet sich ein Menu, dort kann man Einzahlen und Abheben auswählen.


    Wen ich auf Abheben klicke, öffnet sich ein Input Feld, nun möchte ich, das der wert den ich eingebe,
    abgezogen wird.


    Wie mache ich das ?


    PlayerInfo[playerid][pAccount] -= inputtext;


    Der Versuch ist vielleicht schön und gut, aber nicht gut genug :D
    Also, wäre schon wen sich jemand meldet ;)

    Einmal editiert, zuletzt von xivo ()

  • Hallo ich möchte gerne so machen das man verschiedene Spawn Punkte für feste Cars hat, weis aber nicht wie es geht.
    Mein englich ist sehr schlecht, darum bitte helft mir.

    WEGEN MEINER RECHTSCHREIBUNG MÖCHTE ICH MICH ENDSCHULDIGEN ICH BIN LEGASTENIGER!!!!!!!!!!!!!

  • Schau mal in der Suchfunktion unter Randomspawn , sollte sich eigentlich etwas finden lassen ;)


    Und nun zu meiner Frage :D


    Wie kann ich ein 3dText Label an ein Objekt hängen, ist das überhaupt möglich ?


    An Menschen, sowie Fahrzeuge kann ich das. Nur ich möchte es an ein Objekt hängen ! ?

    Einmal editiert, zuletzt von xivo ()

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