Gangzonenproblem

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
  • Hi,
    ich habe gangzonen erstellt aber sie werden nicht angezeigt so sieht es bei mir aus:
    weiter oben:

    new russianmafia;
    new ballas;
    new atzec;
    new nang;
    new vagos;
    new cops;
    new itilianmafia;
    new biker;
    new triad;


    bei ongamemodeinit:

    russianmafia = GangZoneCreate(1689,259, 1140,6, 1849,357, 2057,332);
    ballas = GangZoneCreate(2005,551, 796,3427, 2700,614, 1473,254);
    atzec = GangZoneCreate(2239,842, 1972,235, 2829,474, 2815,473);
    nang = GangZoneCreate(880,9552, 1194,753, 1201,153, 2486,688);
    vagos = GangZoneCreate(1216,772, 1140,6, 1638,495, 1821,38);
    cops = GangZoneCreate(1790,785, 2022,52, 2114,887, 2683,959);
    itilianmafia = GangZoneCreate(2485,847, 2444,139, 2977,858, 2846,418);
    biker = GangZoneCreate(1314,393, 645,488, 1986,027, 819,551);
    triad = GangZoneCreate(1197,248, 479,1612, 2165,65, 881,4401);


    bei onplayerspawn



    GangZoneShowForPlayer(playerid, russianmafia, 0x00FF0096);
    GangZoneShowForPlayer(playerid, ballas, 0xFF00FF96);
    GangZoneShowForPlayer(playerid, atzec, 0x0000FF96);
    GangZoneShowForPlayer(playerid, nang, 0xFF000096);
    GangZoneShowForPlayer(playerid, vagos, 0xFFFF0096);
    GangZoneShowForPlayer(playerid, cops, 0x80FFFF96);
    GangZoneShowForPlayer(playerid, itilianmafia, 0x80000096);
    GangZoneShowForPlayer(playerid, biker, 0xFF808096);
    GangZoneShowForPlayer(playerid, triad, 0xFFFFFF96);


    Sie werden ingame nicht angezeigt ausserdem kommen folgende warnings:



    pwn(614) : warning 202: number of arguments does not match definition
    pwn(614) : warning 202: number of arguments does not match definition
    pwn(614) : warning 202: number of arguments does not match definition
    pwn(614) : warning 202: number of arguments does not match definition
    pwn(615) : warning 202: number of arguments does not match definition
    pwn(615) : warning 202: number of arguments does not match definition
    pwn(615) : warning 202: number of arguments does not match definition
    pwn(615) : warning 202: number of arguments does not match definition
    pwn(616) : warning 202: number of arguments does not match definition
    pwn(616) : warning 202: number of arguments does not match definition
    pwn(616) : warning 202: number of arguments does not match definition
    pwn(616) : warning 202: number of arguments does not match definition
    pwn(617) : warning 202: number of arguments does not match definition
    pwn(617) : warning 202: number of arguments does not match definition
    pwn(617) : warning 202: number of arguments does not match definition
    pwn(617) : warning 202: number of arguments does not match definition
    pwn(618) : warning 202: number of arguments does not match definition
    pwn(618) : warning 202: number of arguments does not match definition
    pwn(618) : warning 202: number of arguments does not match definition
    pwn(618) : warning 202: number of arguments does not match definition
    pwn(619) : warning 202: number of arguments does not match definition
    pwn(619) : warning 202: number of arguments does not match definition
    pwn(619) : warning 202: number of arguments does not match definition
    pwn(619) : warning 202: number of arguments does not match definition
    pwn(620) : warning 202: number of arguments does not match definition
    pwn(620) : warning 202: number of arguments does not match definition
    pwn(620) : warning 202: number of arguments does not match definition
    pwn(620) : warning 202: number of arguments does not match definition
    pwn(621) : warning 202: number of arguments does not match definition
    pwn(621) : warning 202: number of arguments does not match definition
    pwn(621) : warning 202: number of arguments does not match definition
    pwn(621) : warning 202: number of arguments does not match definition
    pwn(622) : warning 202: number of arguments does not match definition
    pwn(622) : warning 202: number of arguments does not match definition
    pwn(622) : warning 202: number of arguments does not match definition
    pwn(622) : warning 202: number of arguments does not match definition


    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    36 Warnings.


    bitte um hilfe


    MfG

  • russianmafia = GangZoneCreate(1689.259, 1140.6, 1849.357, 2057.332);
    ballas = GangZoneCreate(2005.551, 796.3427, 2700.614, 1473.254);
    atzec = GangZoneCreate(2239.842, 1972.235, 2829.474, 2815.473);
    nang = GangZoneCreate(880.9552, 1194.753, 1201.153, 2486.688);
    vagos = GangZoneCreate(1216.772, 1140.6, 1638.495, 1821.38);
    cops = GangZoneCreate(1790.785, 2022.52, 2114.887, 2683.959);
    itilianmafia = GangZoneCreate(2485.847, 2444.139, 2977.858, 2846.418);
    biker = GangZoneCreate(1314.393, 645.488, 1986.027, 819.551);
    triad = GangZoneCreate(1197.248, 479.1612, 2165.65, 881.4401);


    das umtauschen mit dein altes^^