Errors bitte um hilfe

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 habe errors im script die ich nicht weg kriege bitte um schnelle hilfe


    C:\Users\rolf\Desktop\pawno\include\M_Bot.inc(172) : error 017: undefined symbol "IsAnAdmin"


    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(49) : error 031: unknown directive


    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(3583) : warning 206: redundant test: constant expression is non-zero


    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : error 017: undefined symbol "supmobil"


    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : warning 215: expression has no effect


    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : error 001: expected token: ";", but found "]"


    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : error 029: invalid expression, assumed zero


    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : fatal error 107: too many error messages on one line

  • Alle supmobile sachen


    #new supmobil[MAX_PLAYERS];
    --------
    Function CreateSupCar(playerid, carid) {
    new Float:cX, Float:cY, Float:cZ, Float:cZa, rand1, rand2;
    GetPlayerPos(playerid, cX, cY, cZ);
    GetPlayerFacingAngle(playerid, cZa);
    rand1 = random(126);
    rand2 = random(126);
    supmobil[playerid] = CreateVehicle(carid, cX, cY, cZ, cZa, rand1, rand2, 0);
    PutPlayerInVehicle(playerid, supmobil[playerid], 0);


    format(stringx, sizeof(stringx), "Supporter Car von %s", MeinName(playerid));
    suptext[playerid] = Create3DTextLabel(stringx, COLOR_GOLD, 0.0, 0.0, 0.0, 30.0, 0, 1);
    Attach3DTextLabelToVehicle(suptext[playerid], supmobil[playerid], 0.0, 0.0, 0.3);
    suplabeltimer[playerid] = SetTimerEx("SupLabel", 10000, 1, "i", playerid);
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(supmobil[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(supmobil[playerid],VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);


    return 1;
    }
    --------
    if(supmobil[playerid] != 0) DestroyVehicle(supmobil[playerid]);
    -------
    if(GetPlayerVehicleSeat(playerid) == 0 && GetPlayerVehicleID(playerid) == supmobil[p])
    ------
    if(supmobil[playerid] != 0)
    ------
    {
    Delete3DTextLabel(suptext[playerid]);
    format(stringx, sizeof(stringx), "Supporter Car von %s", MeinName(playerid));
    suptext[playerid] = Create3DTextLabel(stringx, COLOR_GOLD, 0.0, 0.0, 0.0, 30.0, 0, 1);
    Attach3DTextLabelToVehicle(suptext[playerid], supmobil[playerid], 0.0, 0.0, 0.3);
    }
    ----------
    }


    Function CreateSupCar(playerid, carid) {
    new Float:cX, Float:cY, Float:cZ, Float:cZa, rand1, rand2;
    GetPlayerPos(playerid, cX, cY, cZ);
    GetPlayerFacingAngle(playerid, cZa);
    rand1 = random(126);
    rand2 = random(126);
    supmobil[playerid] = CreateVehicle(carid, cX, cY, cZ, cZa, rand1, rand2, 0);
    PutPlayerInVehicle(playerid, supmobil[playerid], 0);


    format(stringx, sizeof(stringx), "Supporter Car von %s", MeinName(playerid));
    suptext[playerid] = Create3DTextLabel(stringx, COLOR_GOLD, 0.0, 0.0, 0.0, 30.0, 0, 1);
    Attach3DTextLabelToVehicle(suptext[playerid], supmobil[playerid], 0.0, 0.0, 0.3);
    suplabeltimer[playerid] = SetTimerEx("SupLabel", 10000, 1, "i", playerid);
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(supmobil[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(supmobil[playerid],VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);


    return 1;
    }
    ------


    So ich wusste nicht genau wie ich das suchen soll also habe ich nach supmobile gesucht und mal alles raus geholt hoffe das das so passt

  • ok ich habe aber weiterhin die errors
    Errors :


    C:\Users\rolf\Desktop\pawno\include\M_Bot.inc(172) : error 017: undefined symbol "IsAnAdmin"
    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(3582) : warning 206: redundant test: constant expression is non-zero
    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : error 017: undefined symbol "supmobil"
    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : warning 215: expression has no effect
    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : error 001: expected token: ";", but found "]"
    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : error 029: invalid expression, assumed zero
    C:\Users\rolf\Desktop\gamemodes - Kopie\GNE.pwn(4751) : fatal error 107: too many error messages on one line


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



    5 Errors.



    Zeile 4751: if(supmobil[playerid] != 0) DestroyVehicle(supmobil[playerid]);

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