Warnings

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
  • Bekomme Warnings

    Code
    HitmanVehs[0] = AddStaticVehicleEx(522,2928.4907,2097.7788,17.4681,90.0326,88,48);
    	HitmanVehs[1] = AddStaticVehicleEx(522,2928.6045,2099.9443,17.4634,88.9845,81,41); // HitmanNrg2
    	HitmanVehs[2] = AddStaticVehicleEx(522,2928.3772,2102.1638,17.4635,89.9203,81,48); // HitmanNrg3
    	HitmanVehs[3] = AddStaticVehicleEx(560,2915.2246,2094.7185,10.5182,88.7731,17,48); // HitmanSultan1
    	HitmanVehs[4] = AddStaticVehicleEx(560,2914.9946,2088.4771,10.5183,90.2777,12,48); // HitmanSultan2
    	HitmanVehs[5] = AddStaticVehicleEx(560,2923.6487,2094.6147,11.1719,89.1719,67,32); // HitmanSultan3
    	HitmanVehs[6] = AddStaticVehicleEx(560,2924.0613,2088.6047,11.2639,90.6361,17,32); // HitmanSultan4
    	HitmanVehs[7] = AddStaticVehicleEx(487,2924.9595,2113.0747,21.8455,90.8232,42,23); // HitmanMaverick1


    Hier habe ich 8 Warnings
    und ab hier nicht mehr?



    Code
    HitmanVehs[8] = AddStaticVehicleEx(579,1737.9231,-2354.3357,23.4733,356.8596,0,0,-1); // Hitman9
    	HitmanVehs[9] = AddStaticVehicleEx(411,1722.5137,-2355.4714,23.3929,358.7873,0,0,-1); // Hitman10
    	HitmanVehs[10] = AddStaticVehicleEx(411,1716.2709,-2355.3000,23.3326,358.1950,0,0,-1); // Hitman11
    	HitmanVehs[11] = AddStaticVehicleEx(560,1709.4259,-2355.0991,23.3034,358.9206,0,0,-1); // Hitman12
    	HitmanVehs[12] = AddStaticVehicleEx(560,1704.3602,-2354.6099,23.3005,358.9691,0,0,-1); // Hitman13
    	HitmanVehs[13] = AddStaticVehicleEx(560,1699.2833,-2354.7158,23.3150,359.7553,0,0,-1); // Hitman14
    	HitmanVehs[14] = AddStaticVehicleEx(560,1695.2278,-2354.5505,23.3289,0.1693,0,0,-1); // Hitman15
    	HitmanVehs[15] = AddStaticVehicleEx(593,1608.8557,-2341.1741,24.0788,272.6312,0,0,-1); // Hitman16
  • Und welche ?^^

    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14368) : warning 202: number of arguments does not match definition
    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14369) : warning 202: number of arguments does not match definition
    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14370) : warning 202: number of arguments does not match definition
    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14371) : warning 202: number of arguments does not match definition
    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14372) : warning 202: number of arguments does not match definition
    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14373) : warning 202: number of arguments does not match definition
    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14374) : warning 202: number of arguments does not match definition
    C:\Users\1\Desktop\Script by OnlyPlayHD\gamemodes\andy.pwn(14375) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    8 Warnings.

  • Bekomme Warnings

    Code
    HitmanVehs[0] = AddStaticVehicleEx(522,2928.4907,2097.7788,17.4681,90.0326,88,48);
    	HitmanVehs[1] = AddStaticVehicleEx(522,2928.6045,2099.9443,17.4634,88.9845,81,41); // HitmanNrg2
    	HitmanVehs[2] = AddStaticVehicleEx(522,2928.3772,2102.1638,17.4635,89.9203,81,48); // HitmanNrg3
    	HitmanVehs[3] = AddStaticVehicleEx(560,2915.2246,2094.7185,10.5182,88.7731,17,48); // HitmanSultan1
    	HitmanVehs[4] = AddStaticVehicleEx(560,2914.9946,2088.4771,10.5183,90.2777,12,48); // HitmanSultan2
    	HitmanVehs[5] = AddStaticVehicleEx(560,2923.6487,2094.6147,11.1719,89.1719,67,32); // HitmanSultan3
    	HitmanVehs[6] = AddStaticVehicleEx(560,2924.0613,2088.6047,11.2639,90.6361,17,32); // HitmanSultan4
    	HitmanVehs[7] = AddStaticVehicleEx(487,2924.9595,2113.0747,21.8455,90.8232,42,23); // HitmanMaverick1

    Hier habe ich 8 Warnings
    und ab hier nicht mehr?



    Code
    HitmanVehs[8] = AddStaticVehicleEx(579,1737.9231,-2354.3357,23.4733,356.8596,0,0,-1); // Hitman9
    	HitmanVehs[9] = AddStaticVehicleEx(411,1722.5137,-2355.4714,23.3929,358.7873,0,0,-1); // Hitman10
    	HitmanVehs[10] = AddStaticVehicleEx(411,1716.2709,-2355.3000,23.3326,358.1950,0,0,-1); // Hitman11
    	HitmanVehs[11] = AddStaticVehicleEx(560,1709.4259,-2355.0991,23.3034,358.9206,0,0,-1); // Hitman12
    	HitmanVehs[12] = AddStaticVehicleEx(560,1704.3602,-2354.6099,23.3005,358.9691,0,0,-1); // Hitman13
    	HitmanVehs[13] = AddStaticVehicleEx(560,1699.2833,-2354.7158,23.3150,359.7553,0,0,-1); // Hitman14
    	HitmanVehs[14] = AddStaticVehicleEx(560,1695.2278,-2354.5505,23.3289,0.1693,0,0,-1); // Hitman15
    	HitmanVehs[15] = AddStaticVehicleEx(593,1608.8557,-2341.1741,24.0788,272.6312,0,0,-1); // Hitman16

    Da sieht man es schon beim unteren Code geht es zur Sirene und beim oberen Code geht es nur zur Farbe 2 ich würde mal sagen das du noch was hinzufügen musst spricht ein weiteren Parameter. Ich hoffe das ich dir helfen konnte.

  • Bei den oberen Fahrzeugen fehlt die Respawn-Delay Angabe (-1).
    So:
    HitmanVehs[0] = AddStaticVehicleEx(522,2928.4907,2097.7788,17.4681,90.0326,88,48,-1);
    HitmanVehs[1] = AddStaticVehicleEx(522,2928.6045,2099.9443,17.4634,88.9845,81,41,-1); // HitmanNrg2
    HitmanVehs[2] = AddStaticVehicleEx(522,2928.3772,2102.1638,17.4635,89.9203,81,48,-1); // HitmanNrg3
    HitmanVehs[3] = AddStaticVehicleEx(560,2915.2246,2094.7185,10.5182,88.7731,17,48,-1); // HitmanSultan1
    HitmanVehs[4] = AddStaticVehicleEx(560,2914.9946,2088.4771,10.5183,90.2777,12,48,-1); // HitmanSultan2
    HitmanVehs[5] = AddStaticVehicleEx(560,2923.6487,2094.6147,11.1719,89.1719,67,32,-1); // HitmanSultan3
    HitmanVehs[6] = AddStaticVehicleEx(560,2924.0613,2088.6047,11.2639,90.6361,17,32,-1); // HitmanSultan4
    HitmanVehs[7] = AddStaticVehicleEx(487,2924.9595,2113.0747,21.8455,90.8232,42,23,-1); // HitmanMaverick1