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;
}
}