CreateVehicle Errors

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 da mal ne frage.
    ich habe das hier gescripted/gemappt:


    public OnGameModeInit()
    {
    CreateVehicle(427, 1586.2667,-1667.9492,6.0241,269.5383,0,1);
    CreateVehicle(523, 1600.7615,-1684.5736,5.4553,92.2664,0,0);
    CreateVehicle(427, 1586.4573,-1671.6741,6.0261,270.7011,0,1);
    CreateVehicle(497, 1562.7861,-1650.7998,28.5753,90.4004,0,1);
    CreateVehicle(497, 1564.1134,-1658.9153,28.5604,92.8471,0,1);
    CreateVehicle(596, 1583.5741,-1709.7240,5.6702,358.0715,52,52);
    CreateVehicle(596, 1578.5387,-1709.6501,5.6701,359.9570,74,74);
    CreateVehicle(596, 1574.2590,-1709.6787,5.6703,359.9252,91,91);
    CreateVehicle(596, 1570.0256,-1709.2522,5.6701,0.8470,41,41);
    CreateVehicle(596, 1558.9060,-1711.2736,5.6700,0.6812,52,52);
    CreateVehicle(523, 1596.1243,-1708.9757,5.4618,354.5811,0,0);
    CreateVehicle(523, 1591.8488,-1709.5656,5.4441,4.2096,0,0);
    CreateVehicle(523, 1587.5920,-1709.4928,5.4584,1.1304,0,0);
    CreateVehicle(525,1318.1881,-857.6321,39.4503,179.1592,18,20);
    CreateVehicle(525,1322.7755,-858.0092,39.4552,178.9814,36,43);
    CreateVehicle(525,1327.0591,-858.0015,39.4488,180.2314,52,54);
    CreateVehicle(525,1331.1239,-858.3387,39.4561,178.4773,17,20);
    }


    und bekommen (die ersten vier cars funktionieren der rest nicht)



    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(31) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(32) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(33) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(34) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(35) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(36) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(37) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(38) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(39) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(40) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(41) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(42) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(43) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(44) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(45) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(46) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Jonas\Desktop\Neuer Ordner (2)\gamemodes\lspd.pwn(47) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    17 Warnings.


    was muss ich tun??

    MfG Mayo :love:

  • CreateVehicle(427, 1586.2667,-1667.9492,6.0241,269.5383,0,1,60); // Die letzte 60 bedeutet, das sie nach 60 Sekunden ohne Fahrer respawnen.
    CreateVehicle(523, 1600.7615,-1684.5736,5.4553,92.2664,0,0,60);
    CreateVehicle(427, 1586.4573,-1671.6741,6.0261,270.7011,0,1,60);
    CreateVehicle(497, 1562.7861,-1650.7998,28.5753,90.4004,0,1,60);
    CreateVehicle(497, 1564.1134,-1658.9153,28.5604,92.8471,0,1,60);
    CreateVehicle(596, 1583.5741,-1709.7240,5.6702,358.0715,52,52,60);
    CreateVehicle(596, 1578.5387,-1709.6501,5.6701,359.9570,74,74,60);
    CreateVehicle(596, 1574.2590,-1709.6787,5.6703,359.9252,91,60);
    CreateVehicle(596, 1570.0256,-1709.2522,5.6701,0.8470,41,41,60);
    CreateVehicle(596, 1558.9060,-1711.2736,5.6700,0.6812,52,52,60);
    CreateVehicle(523, 1596.1243,-1708.9757,5.4618,354.5811,0,0,60);
    CreateVehicle(523, 1591.8488,-1709.5656,5.4441,4.2096,0,0,60);
    CreateVehicle(523, 1587.5920,-1709.4928,5.4584,1.1304,0,0,60);
    CreateVehicle(525,1318.1881,-857.6321,39.4503,179.1592,18,20,60);
    CreateVehicle(525,1322.7755,-858.0092,39.4552,178.9814,36,43,60);
    CreateVehicle(525,1327.0591,-858.0015,39.4488,180.2314,52,54,60);
    CreateVehicle(525,1331.1239,-858.3387,39.4561,178.4773,17,20,60);