afkliste

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
  • hey bei mir macht die AFK liste Probleme ich bekomme lauter errros
    Erros

    C:\Users\kifkat\Documents\[POD]\pawno\include\ocmd.inc(15) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(880) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(896) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1038) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1127) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1434) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1623) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1773) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1784) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1808) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1821) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1867) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1879) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(1940) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2015) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2096) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2134) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2213) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2283) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2378) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2396) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2414) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2456) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(2474) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3113) : error 010: invalid function or declaration
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3117) : error 010: invalid function or declaration
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3119) : error 010: invalid function or declaration
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3121) : error 010: invalid function or declaration
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3129) : error 010: invalid function or declaration
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3254) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3254) : warning 219: local variable "aname" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3360) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3543) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3627) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3653) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3667) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3682) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(3697) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(4468) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(4493) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(4515) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(4826) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(4858) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(4905) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(5847) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(5902) : warning 203: symbol is never used: "JAIL"
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(5902) : warning 203: symbol is never used: "aname"
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(5902) : warning 203: symbol is never used: "i"
    C:\Users\kifkat\Documents\[POD]\gamemodes\pod.pwn(5902) : warning 203: symbol is never used: "pFirstLog"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.


    Die Abteilung

    ocmd:afkliste/playerid,parmas[])
    {
    SendClientMessage(playerid,ROT,"Spieler die AFK Sind:");
    new i = 0,aname[256];
    for(; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(AFKPLAYERS[AFK] == 1)
    {
    GetPlayerName(i,aname,sizeof(aname));
    format(strin,256,"%s",aname);
    SendClientMessage(playerid,GELB,string);
    }
    }
    }
    return 1;
    }
    kann mir wer sagen was falsch ist ?
    lg kifkat