Habe Fehler aber was ist falsch???

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 Leute ich habe fehler im Stats menü:
    public Stats(playerid)
    {
    new string[128], string2[128], pName[MAX_PLAYER_NAME];
    new bGeld, Geld;
    bGeld = pInfo[playerid][pBank];
    Geld = GetPlayerMoney(playerid)
    GetPlayerName(playerid,pName,sizeof pName);
    format(string,sizeof string,"Accountübersicht - %s",pName);
    format(string2,sizeof string2,"Personalien:\rVorname:\rNachnahme:\n\rGeschlecht:\rAlter:\n\rPartner:\n\rLevel: %d\n\nFinanzen:\rBargeld: %d$\rKontostand: %d$",GetPlayerDcore(playerid),Geld,bGeld);
    ShowPlayerDialog(playerid,Stats,DIALOG_STYLE_MSGBOX,string,string2,"O.K.","");
    return 1;
    }


    Fehler:
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\pawno\include\dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(622) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(622) : warning 219: local variable "string2" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(752) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(752) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1140) : error 029: invalid expression, assumed zero
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1140) : warning 215: expression has no effect
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1156) : error 001: expected token: "-identifier-", but found "-integer value-"
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1160) : error 010: invalid function or declaration
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1166) : error 010: invalid function or declaration
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1219) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1219) : warning 219: local variable "string2" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1258) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1388) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1409) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1427) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1430) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1448) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1448) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1465) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1465) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1554) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1557) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1557) : warning 219: local variable "string2" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1586) : warning 219: local variable "Geld" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1586) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1586) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1622) : error 029: invalid expression, assumed zero
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1622) : warning 215: expression has no effect
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1657) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1657) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1674) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1674) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1686) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1686) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1686) : warning 219: local variable "string2" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1720) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1720) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1756) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(2064) : warning 203: symbol is never used: "Geld"
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(2064) : warning 203: symbol is never used: "bGeld"
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(2064) : warning 203: symbol is never used: "pName"
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(2064) : warning 203: symbol is never used: "string"
    C:\Users\AddiLikeMc\Desktop\SAMP\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(2064) : warning 203: symbol is never used: "string2"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.


    Wäre nett wenn ihr die Fehler finden würdet, weil ich habe nichts gefunden.