[HILFE]Problem beim Error!

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 paar Error's die nicht weg gehen ,
    Komme gar nicht weiter Hilft mir bitte.
    Alle Fehler sind in der Zeile (9669) und das checke ich nicht,
    ------------------------------------------------------------------------------------------------------------------------------



    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\pawno\include\dutils.inc(89) : error 017: undefined symbol "mktime"
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9669) : error 017: undefined symbol "string"
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9669) : error 017: undefined symbol "string"
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9669) : error 029: invalid expression, assumed zero
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9669) : 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.
    -------------------------------------------------------------------------------------------------------------------------------------


    Und das bei Zeile 89 auch nicht Da ist ein grün markierter Name und das wird als Fehler gezählt???


  • Selbst die magische Miesmuschel kann mir nicht helfen.
    Aber vielleicht du, indem du uns den betreffenden Code zeigst..

    Liberty Reallife ♥


    SA-MP Server IP:

    Liberty-Reallife.de:7777 oder 176.57.142.127:777 | Version: 0.3z

    ____________________________________________________


    Forum:

    ____________________________________________________


    TeamSpeak³ Server IP:
    Liberty Reallife.de:9987 oder 176.57.142.172:9987

    ____________________________________________________


    TeamSpeak³ Server Passwort:

    ts-lr

  • Meint ihr das?



    if(strcmp("/kleidung",cmdtext,true,10) == 0)
    {
    new goinvw, fstop = 0;
    if (playerincshop[playerid][ladentyp] == 0){
    if (IsPlayerInRangeOfPoint(playerid,15,214.3567,-156.6403,1000.7234) == 1 && GetPlayerInterior(playerid) == 14){
    for (new i; i < 300 && fstop == 0; i++){
    if (skin[i][shopid] == 5){
    goinvw = GetPlayerVirtualWorld(playerid) + 10000 + playerid;
    SetPlayerVirtualWorld(playerid, goinvw);
    SetPlayerPos(playerid,216.1816,-155.4713,1000.5234);
    SetPlayerFacingAngle(playerid, 88);
    SetPlayerCameraPos(playerid,214.3567,-156.6403,1000.7234);
    SetPlayerCameraLookAt(playerid,216.1816,-155.4713,1000.5234);
    TogglePlayerControllable(playerid,0);


    Hier -----> 9669 format(string,sizeof(string),"%d $~n~Skin %d",skin[i][kosten],skin[i][typ]);
    TextDrawSetString(kleidungkaufen[playerid],string);
    TextDrawShowForPlayer(playerid, kleidungkaufen[playerid]);
    SetPlayerSkin(playerid, i);
    playerincshop[playerid][ladentyp] = 5;


    SendClientMessage(playerid, COLOR_YELLOW, "Kleidung: DS");
    SendClientMessage(playerid, COLOR_YELLOW, " Weiter blättern: Feuertaste");
    SendClientMessage(playerid, COLOR_YELLOW, " Kaufen: Leertaste");
    SendClientMessage(playerid, COLOR_YELLOW, " Beenden: /kleidung");
    SendClientMessage(playerid, COLOR_YELLOW, " Gang - 10facher Preis: /kgbuy");


    fstop = 1;
    }
    }
    return 1;

  • Wenn dort die Errors sind, ja.
    Zudem mal in den Pwn quellcode bitte.

    Liberty Reallife ♥


    SA-MP Server IP:

    Liberty-Reallife.de:7777 oder 176.57.142.127:777 | Version: 0.3z

    ____________________________________________________


    Forum:

    ____________________________________________________


    TeamSpeak³ Server IP:
    Liberty Reallife.de:9987 oder 176.57.142.172:9987

    ____________________________________________________


    TeamSpeak³ Server Passwort:

    ts-lr

  • if(strcmp("/kleidung",cmdtext,true,10) == 0) {new string [128]; new goinvw, fstop = 0; if (playerincshop[playerid][ladentyp] == 0){ if (IsPlayerInRangeOfPoint(playerid,15,214.3567,-156.6403,1000.7234) == 1 && GetPlayerInterior(playerid) == 14){ for (new i; i < 300 && fstop == 0; i++){ if (skin[i][shopid] == 5){ goinvw = GetPlayerVirtualWorld(playerid) + 10000 + playerid; SetPlayerVirtualWorld(playerid, goinvw); SetPlayerPos(playerid,216.1816,-155.4713,1000.5234); SetPlayerFacingAngle(playerid, 88); SetPlayerCameraPos(playerid,214.3567,-156.6403,1000.7234); SetPlayerCameraLookAt(playerid,216.1816,-155.4713,1000.5234); TogglePlayerControllable(playerid,0);
    format(string,sizeof(string),"%d $~n~Skin %d",skin[i][kosten],skin[i][typ]); TextDrawSetString(kleidungkaufen[playerid],string); TextDrawShowForPlayer(playerid, kleidungkaufen[playerid]); SetPlayerSkin(playerid, i); playerincshop[playerid][ladentyp] = 5;
    SendClientMessage(playerid, COLOR_YELLOW, "Kleidung: DS"); SendClientMessage(playerid, COLOR_YELLOW, " Weiter blättern: Feuertaste"); SendClientMessage(playerid, COLOR_YELLOW, " Kaufen: Leertaste"); SendClientMessage(playerid, COLOR_YELLOW, " Beenden: /kleidung"); SendClientMessage(playerid, COLOR_YELLOW, " Gang - 10facher Preis: /kgbuy");
    fstop = 1; } } return 1; }

  • Ja fast..
    Aber ich denke ich weiß, woran es liegt.


    Füg über Zeile 9669, also in Zeile 9668
    new string[128];
    ein.
    Sodass es über der Errorzeile liegt.

    Liberty Reallife ♥


    SA-MP Server IP:

    Liberty-Reallife.de:7777 oder 176.57.142.127:777 | Version: 0.3z

    ____________________________________________________


    Forum:

    ____________________________________________________


    TeamSpeak³ Server IP:
    Liberty Reallife.de:9987 oder 176.57.142.172:9987

    ____________________________________________________


    TeamSpeak³ Server Passwort:

    ts-lr

  • füg das diesmal richtig in den PWN Quellcode ein :pinch:

    Liberty Reallife ♥


    SA-MP Server IP:

    Liberty-Reallife.de:7777 oder 176.57.142.127:777 | Version: 0.3z

    ____________________________________________________


    Forum:

    ____________________________________________________


    TeamSpeak³ Server IP:
    Liberty Reallife.de:9987 oder 176.57.142.172:9987

    ____________________________________________________


    TeamSpeak³ Server Passwort:

    ts-lr

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

  • if(strcmp("/kleidung",cmdtext,true,10) == 0)
    {
    new goinvw, fstop = 0;
    if (playerincshop[playerid][ladentyp] == 0){
    if (IsPlayerInRangeOfPoint(playerid,15,214.3567,-156.6403,1000.7234) == 1 && GetPlayerInterior(playerid) == 14){
    for (new i; i < 300 && fstop == 0; i++){
    if (skin[i][shopid] == 5){
    goinvw = GetPlayerVirtualWorld(playerid) + 10000 + playerid;
    SetPlayerVirtualWorld(playerid, goinvw);
    SetPlayerPos(playerid,216.1816,-155.4713,1000.5234);
    SetPlayerFacingAngle(playerid, 88);
    SetPlayerCameraPos(playerid,214.3567,-156.6403,1000.7234);
    SetPlayerCameraLookAt(playerid,216.1816,-155.4713,1000.5234);
    TogglePlayerControllable(playerid,0);
    new string[128];
    format(string,sizeof(string),"%d $~n~Skin %d",skin[i][kosten],skin[i][typ]);
    TextDrawSetString(kleidungkaufen[playerid],string);
    TextDrawShowForPlayer(playerid, kleidungkaufen[playerid]);
    SetPlayerSkin(playerid, i);
    playerincshop[playerid][ladentyp] = 5;


    SendClientMessage(playerid, COLOR_YELLOW, "Kleidung: DS");
    SendClientMessage(playerid, COLOR_YELLOW, " Weiter blättern: Feuertaste");
    SendClientMessage(playerid, COLOR_YELLOW, " Kaufen: Leertaste");
    SendClientMessage(playerid, COLOR_YELLOW, " Beenden: /kleidung");
    SendClientMessage(playerid, COLOR_YELLOW, " Gang - 10facher Preis: /kgbuy");


    fstop = 1;
    }
    }
    return 1;
    }

    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\pawno\include\dutils.inc(89) : error 017: undefined symbol "mktime"
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9697) : error 017: undefined symbol "string"
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9697) : error 017: undefined symbol "string"
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9697) : error 029: invalid expression, assumed zero
    C:\Users\TOSHIBA\Desktop\Selfmade by RedFly\gamemodes\selfmade.pwn(9697) : fatal error 107: too many error messages on one line

  • Kann mir keine mit Teamviwer helfen?


    Bei diesem Befehl erkenne ich keinen Fehler.


    if(strcmp("/kleidung",cmdtext,true,10) == 0)
    {
    new goinvw, fstop = 0;
    if (playerincshop[playerid][ladentyp] == 0)
    {
    if (IsPlayerInRangeOfPoint(playerid,15,214.3567,-156.6403,1000.7234) == 1 && GetPlayerInterior(playerid) == 14)
    {
    for (new i; i < 300 && fstop == 0; i++)
    {
    if (skin[i][shopid] == 5)
    {
    goinvw = GetPlayerVirtualWorld(playerid) + 10000 + playerid;
    SetPlayerVirtualWorld(playerid, goinvw);
    SetPlayerPos(playerid,216.1816,-155.4713,1000.5234);
    SetPlayerFacingAngle(playerid, 88);
    SetPlayerCameraPos(playerid,214.3567,-156.6403,1000.7234);
    SetPlayerCameraLookAt(playerid,216.1816,-155.4713,1000.5234);
    TogglePlayerControllable(playerid,0);
    new string[128];
    format(string,sizeof(string),"%d $~n~Skin %d",skin[i][kosten],skin[i][typ]);
    TextDrawSetString(kleidungkaufen[playerid],string);
    TextDrawShowForPlayer(playerid, kleidungkaufen[playerid]);
    SetPlayerSkin(playerid, i);
    playerincshop[playerid][ladentyp] = 5;
    SendClientMessage(playerid, COLOR_YELLOW, "Kleidung: DS");
    SendClientMessage(playerid, COLOR_YELLOW, " Weiter blättern: Feuertaste");
    SendClientMessage(playerid, COLOR_YELLOW, " Kaufen: Leertaste");
    SendClientMessage(playerid, COLOR_YELLOW, " Beenden: /kleidung");
    SendClientMessage(playerid, COLOR_YELLOW, " Gang - 10facher Preis: /kgbuy");
    fstop = 1;
    }
    }
    }
    return 1;
    }


    Poste uns doch einfach mal den Richtigen Befehl..