C:\Dokumente und Einstellungen\Edel\Desktop\Programme\GTA San Andreas\gamemodes\edit.pwn(8212) : warning 213: tag mismatch
C:\Dokumente und Einstellungen\Edel\Desktop\Programme\GTA San Andreas\gamemodes\edit.pwn(42834) : warning 203: symbol is never used: "ps"
C:\Dokumente und Einstellungen\Edel\Desktop\Programme\GTA San Andreas\gamemodes\edit.pwn(42834) : warning 203: symbol is never used: "s"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 7988 bytes
Code size: 1858636 bytes
Data size: 4923848 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 6806856 bytes
3 Warnings.
Mein Script geht nur bis Zeile 42833 ! Und 1 Fehler steht auf Zeile 42834!^^
Ich kopiere einfach mal ein paar zeilen von dadrüber hier mit rein!
public PayDayWantedclear()
{
new wantedmes[256];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(WantedLevel[i] != 0)
{
if(WantedLevel[i] > 10)
{
WantedLevel[i] -= 5;
WantedPoints[i] -=10;
}
else if(WantedLevel[i] > 2 && WantedLevel[i] <= 10)
{
WantedLevel[i] -= 4;
WantedPoints[i] -= 8;
}
else if(WantedLevel[i] > 0 && WantedLevel[i] < 3)
{
WantedLevel[i] -= 1;
WantedPoints[i] -= 4;
}
if(WantedLevel[i] < 0)
{
WantedLevel[i] = 0;
WantedPoints[i] = 0;
}
if(IsACop(i) && OnDuty[i] == 1)
{
WantedLevel[i] = 0;
WantedPoints[i] = 0;
}
format(wantedmes, sizeof(wantedmes), "Current Wanted Level: %d", WantedLevel[i]);
SendClientMessage(i, COLOR_YELLOW, wantedmes);
OnPlayerStatsUpdate(i);
}
}
return 1;
}