Beiträge von EliteCake

    dan kommen warnings,
    wen ich alles in klammern setze



    bitte um hilfe , weil der bug nervt
    if(!IsPlayerInRangeOfPoint(playerid,2.0,1000.5323,-940.9221,42.1487,97.4279) || (!IsPlayerInRangeOfPoint(playerid,2.0,1007.1821,-933.7119,42.1731,277.7350) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1938.9042,-1776.3755,13.3808,179.8374) || (!IsPlayerInRangeOfPoint(playerid,2.0,1944.3123,-1769.3580,13.3820,0.911) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1380.9349,463.2896,20.1310,63.2571) || (!IsPlayerInRangeOfPoint(playerid,2.0,1383.0538,455.8885,19.8995,243.8884) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,653.2905,-569.9843,16.3285,180.9602) || (!IsPlayerInRangeOfPoint(playerid,2.0,-99.2766,-1171.7705,2.4701,155.8398) //tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1667.5259,410.9921,7.1734,314.2079) || (!IsPlayerInRangeOfPoint(playerid,2.0,-2029.4103,158.7331,28.8301,359.7822) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2024.0455,154.7949,28.8271,178.6731) || (!IsPlayerInRangeOfPoint(playerid,2.0,-2413.9492,970.0224,45.2878,181.6576) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2407.4719,982.5601,45.2859,357.6207) || (!IsPlayerInRangeOfPoint(playerid,2.0,,-2248.6003,-2558.2173,31.8950,331.0103) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1605.4547,-2714.4626,48.5321,234.7095) || (!IsPlayerInRangeOfPoint(playerid,2.0,2115.1289,923.3563,10.8127,269.1026) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1464.8555,1858.5363,32.6268,273.8470) || (!IsPlayerInRangeOfPoint(playerid,2.0,-1477.6841,1865.5970,32.6286,93.7996) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1329.5178,2672.1833,50.0551,82.0899) || (!IsPlayerInRangeOfPoint(playerid,2.0,-1327.6125,2682.8066,50.0548,81.7993) // tankw



    (2228) : warning 202: number of arguments does not match definition
    (2228) : warning 202: number of arguments does not match definition
    (2229) : warning 202: number of arguments does not match definition
    (2229) : warning 202: number of arguments does not match definition
    (2230) : warning 202: number of arguments does not match definition
    (2230) : warning 202: number of arguments does not match definition
    (2231) : warning 202: number of arguments does not match definition
    (2231) : warning 202: number of arguments does not match definition
    (2232) : warning 202: number of arguments does not match definition
    (2232) : warning 202: number of arguments does not match definition
    (2233) : warning 202: number of arguments does not match definition
    (2233) : warning 202: number of arguments does not match definition
    (2234) : warning 202: number of arguments does not match definition
    (2234) : error 029: invalid expression, assumed zero
    (2239) : error 033: array must be indexed (variable "-unknown-")
    (2240) : error 001: expected token: ")", but found "return"
    (2240) : error 001: expected token: ")", but found ";"
    (2242) : warning 215: expression has no effect
    (2242) : warning 215: expression has no effect
    (2242) : warning 215: expression has no effect
    (2242) : warning 215: expression has no effect
    (2242) : error 001: expected token: ";", but found ")"
    (2242) : error 029: invalid expression, assumed zero
    (2242) : warning 215: expression has no effect
    (3788) : warning 219: local variable "playerid" shadows a variable at a preceding level
    (4245) : warning 219: local variable "playerid" shadows a variable at a preceding level
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.

    das sind die coords


    if(!IsPlayerInRangeOfPoint(playerid,2.0,1000.5323,-940.9221,42.1487,97.4279 || !IsPlayerInRangeOfPoint(playerid,2.0,1007.1821,-933.7119,42.1731,277.7350 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1938.9042,-1776.3755,13.3808,179.8374 || !IsPlayerInRangeOfPoint(playerid,2.0,1944.3123,-1769.3580,13.3820,0.911 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1380.9349,463.2896,20.1310,63.2571 || !IsPlayerInRangeOfPoint(playerid,2.0,1383.0538,455.8885,19.8995,243.8884 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,653.2905,-569.9843,16.3285,180.9602 || !IsPlayerInRangeOfPoint(playerid,2.0,-99.2766,-1171.7705,2.4701,155.8398 //tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1667.5259,410.9921,7.1734,314.2079 || !IsPlayerInRangeOfPoint(playerid,2.0,-2029.4103,158.7331,28.8301,359.7822 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2024.0455,154.7949,28.8271,178.6731 || !IsPlayerInRangeOfPoint(playerid,2.0,-2413.9492,970.0224,45.2878,181.6576 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2407.4719,982.5601,45.2859,357.6207 || !IsPlayerInRangeOfPoint(playerid,2.0,,-2248.6003,-2558.2173,31.8950,331.0103 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1605.4547,-2714.4626,48.5321,234.7095 || !IsPlayerInRangeOfPoint(playerid,2.0,2115.1289,923.3563,10.8127,269.1026 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1464.8555,1858.5363,32.6268,273.8470 || !IsPlayerInRangeOfPoint(playerid,2.0,-1477.6841,1865.5970,32.6286,93.7996 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1329.5178,2672.1833,50.0551,82.0899 || !IsPlayerInRangeOfPoint(playerid,2.0,-1327.6125,2682.8066,50.0548,81.7993) // tankw


    bei dem anderen weiß ich nicht was ich posten muss

    Hallo alle,
    ich habe ein Tanksystem drin und es gibt 2 probleme ich habe die coords geändert jetzt kommt 1 error


    error 029: invalid expression, assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    2. mir wird zwar 100 liter tank angezeigt aber er sinkt nicht er bleibt immer 100




    MFG Cake

    habe mal im vid gehört das mal vip durch ein vorbesteltes ticket wird und dan auch durch ein besonderem eingang kann
    ..


    also wo krigt man so ne karte her wo man jetzt hinter eingang rein kann weil das wäre echt vorteil haft xD

    Hallo,
    ich wollte mal fragen was es für vorteile hat wen man sich ein ticket vorbestelt oder eher gesagt kauft für die GamesCom



    MFG EliteCake

    if(IsALSPDCar(carid))
    {
    if(PlayerInfo[playerid][Beruf] != 1) SendClientMessage(playerid,Rot,"Dieses Fahrzeug darfst du nicht Benutzen"), RemovePlayerFromVehicle(playerid);
    }


    public IsALSPDCar(carid)
    {
    for(new i;i!=sizeof(LSPDCar);i++)
    {
    if(LSPDCar[i] == carid) return true;
    }
    return false;
    }


    das ist alles mit LSPDcar

    ich habe nur team defins und forwad die carsforward IsANewbie(carid);
    forward IsAAirportCar(carid);
    forward IsALSPDCar(carid);
    forward IsAFBICar(carid);
    forward IsAArmiCar(carid);
    forward IsAMedicCar(carid);
    forward IsAFahrschulCar(carid);
    forward IsATaxiCar(carid);
    forward IsAPresidentCar(carid);
    forward IsANewsCar(carid);
    forward IsAGrooveCar(carid);
    forward IsALCNCar(carid);
    forward IsABallasCar(carid);
    forward IsABikerCar(carid);
    forward IsAVagosCar(carid);
    forward IsAYakuzaCar(carid);
    forward IsARifaCar(carid);
    forward IsATerrorCar(carid);

    Hallo Com,
    ich habe das von egen eim geposteten in dem Thread von EliteBread kopiert bei mir geht dies aber nicht bei mir kommen errors ???



    for(new i; i<40; i++)
    {
    SetVehicleNumberPlate(IsALSPDCar[i],"{0005FF}LSPD");
    SetVehicleToRespawn(IsALSPDCar[i]);
    }


    C:\Users\EliteCake\Desktop\Selfmade Script\gamemodes\xD.pwn(472) : warning 217: loose indentation
    C:\Users\EliteCake\DesktopSelfmade Script\gamemodes\xD.pwn(474) : error 028: invalid subscript (not an array or too many subscripts): "IsALSPDCar"
    C:\Users\EliteCake\Desktop\Selfmade Script\gamemodes\xD.pwn(474) : warning 215: expression has no effect
    C:\Users\EliteCake\Desktop\Selfmade Script\gamemodes\xD.pwn(474) : error 001: expected token: ";", but found "]"
    C:\Users\EliteCake\Desktop\Selfmade Script\gamemodes\xD.pwn(474) : error 029: invalid expression, assumed zero
    C:\Users\EliteCake\Desktop\Selfmade Script\gamemodes\xD.pwn(474) : fatal error 107: too many error messages on one line


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



    4 Errors.

    Hey,


    habe auf meinem Server eine Wilkommens Nachricht eingefügt , die aus unterschiedlichen Farben besteht.
    Es werden aber im Chat die Farbcods angezeigt und nicht die Farbe, wieso?


    format(string,64,"]{0x8C8C8CFF}%s {0xFFFFFFFF}hat den Server {0x2DFF00FF}betreten",spielername);

    Ich hab das so :


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    if(GetVehicleModel(vehicleid) == 581||GetVehicleModel(vehicleid) == 522||GetVehicleModel(vehicleid) == 461
    {
    if(PlayerInfo[playerid][BikeL] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,Rot,"Du hast keinen Motorradschein");
    }
    }


    Aber ich muss natürlich abfragen in welchen car.