[Warning] 1 warning

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\Scripting woho\gamemodes\Release.pwn(9173) : warning 209: function "OnPlayerExitVehicle" should return a value
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 13168 bytes
    Code size: 2395664 bytes
    Data size: 5998416 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements: 8440016 bytes


    1 Warning.


    Zeile:


    Function OnPlayerExitVehicle(playerid, vehicleid)
    {
    if (GetPlayerState(playerid) == 1)
    {
    return 1;
    }
    if(gGas[playerid] == 1)
    {
    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~Auto Verlassen", 500, 3);
    }
    if(GetVehicleModel(vehicleid) == 408)
    {
    if(Mullabfuhr[playerid] == 1)
    {
    SendClientMessage(playerid, COLOR_RED, "* Du hast 15 Sekunden um in einen Muellwagen zu steigen !");
    SetTimerEx("MullabfuhrAbbruch", 15000, 0,"i",playerid);
    }
    return 1;
    }
    }


    kann man das iwie entfernen?
    Header size: 13168 bytes
    Code size: 2395664 bytes
    Data size: 5998416 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements: 8440016 bytes


    Danke im vorraus

    German Projekt Reallife

    87.98.244.35:3434

  • Function OnPlayerExitVehicle(playerid, vehicleid)
    {
    if (GetPlayerState(playerid) == 1)
    {
    return 1;
    }
    if(gGas[playerid] == 1)
    {
    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~Auto Verlassen", 500, 3);
    }
    if(GetVehicleModel(vehicleid) == 408)
    {
    if(Mullabfuhr[playerid] == 1)
    {
    SendClientMessage(playerid, COLOR_RED, "* Du hast 15 Sekunden um in einen Muellwagen zu steigen !");
    SetTimerEx("MullabfuhrAbbruch", 15000, 0,"i",playerid);
    }
    return 1;
    }
    }


    Versuch es mal so