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