Warning 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
  • C:\Users\Anastasia\Desktop\desktop 2\FoR - Script\gamemodes\Release.pwn(16848) : warning 209: function "OnPlayerLogin" should return a valuePawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
    Header size: 13176 bytesCode size: 2404644 bytesData size: 6304424 bytesStack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursionTotal requirements: 8755012 bytes
    1 Warning.


    Ganz unten diese Klammer // Nicht alles kopiert nur paar zeilen
    Zeile:

    else if(OfflineFlucht[playerid] == 1 && WantedLevel[playerid] == 0)
    {
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Du wurdest eingesperrt weil du Offline-Flucht begangen hast!");
    new sendername[MAX_PLAYER_NAME],string[100];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "*[Auto-Jail] %s wurde wegen Offline-Flucht eingesperrt.", sendername);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && IsADChatter(i))
    {
    SendClientMessage(i,COLOR_ALLDEPT,string);
    }
    }
    OfflineFlucht[playerid] = 0;
    ResetPlayerWeapons(playerid);
    PlayerInfo[playerid][pJailed] = 1;
    PlayerInfo[playerid][pJailTime] = 300;
    SetPlayerInterior(playerid, 3);
    if(LSPDZellen == 0)//zelle1
    {
    SetPlayerPos(playerid,198.0773,161.7927,1003.0300);
    LSPDZellen += 1;
    }
    if(LSPDZellen == 1)//zelle2
    {
    SetPlayerPos(playerid,198.0191,174.8355,1003.0234);
    LSPDZellen += 1;
    }
    if(LSPDZellen == 2)//zelle3
    {
    SetPlayerPos(playerid,193.7850,175.0043,1003.0234);
    LSPDZellen = 0;
    }
    WantedPoints[playerid] = 0;
    SetPlayerWantedLevel(playerid,0);
    WantedLevel[playerid] = 0;
    }
    else if(OfflineFlucht[playerid] == 2 && WantedLevel[playerid] > 0)
    {
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Du wurdest Eingesperrt weil du Gecuffed einen Crash hattest!");
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Pro WantedLevel 5 Minuten!");
    new sendername[MAX_PLAYER_NAME],string[100];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "*[Auto-Jail] %s wurde wegen Exe-Crash eingesperrt.", sendername);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && IsADChatter(i))
    {
    SendClientMessage(i,COLOR_ALLDEPT,string);
    }
    }
    OfflineFlucht[playerid] = 0;
    ResetPlayerWeapons(playerid);
    new wlevel = WantedLevel[playerid];
    PlayerInfo[playerid][pJailed] = 1;
    PlayerInfo[playerid][pJailTime] = wlevel*300;
    SetPlayerInterior(playerid, 3);
    if(LSPDZellen == 0)//zelle1
    {
    SetPlayerPos(playerid,197.8290,161.8141,1003.0300);
    LSPDZellen += 1;
    }
    if(LSPDZellen == 1)//zelle2
    {
    SetPlayerPos(playerid,197.8290,161.8141,1003.0300);
    LSPDZellen += 1;
    }
    if(LSPDZellen == 2)//zelle3
    {
    SetPlayerPos(playerid,197.8290,161.8141,1003.0300);
    LSPDZellen = 0;
    }
    WantedPoints[playerid] = 0;
    SetPlayerWantedLevel(playerid,0);
    WantedLevel[playerid] = 0;
    }
    }

    German Projekt Reallife

    87.98.244.35:3434

  • Du solltest darunter ein return 1; ergänzen.

    Main: CPU: Intel Core i5-4440 @ 3,10 GHz | CPU-Cooling: Matterhorn -PURE- | RAM: 16GB Crucial Ballistix Sport DDR3-1600 DIMM CL9-9-9-24 |
    Motherboard: ASRock B85M Pro4 | GPU: Sapphire Radeon R9 390X Nitro 8GB GDDR5 |

    SSD: Samsung SSD 840 Evo 500GB | Power Supply: 550 Watt Corsair CS Series Modular 80+ Gold | Case: beQuiet! Silent Base 800


    As I walk through the valley of the shadow of death
    I take a look at my life and realize there's nothin' left.