Hallo,
Ich bekomme beim Compilen immer diese Fehlermeldung !Gamemodes\WorldofSanAndreas.pwn(6130) : error 029: invalid expression, assumed zero
Und zwar hier:
if(pickupid == Einknasten) (Das ist Zeile 6130)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerWantedLevel(i)==1 GetPlayerWantedLevel(i)== 2)
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 10min. eingespeert.");
WantedPoints = 0;
WantedLevel = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 600;
PlayerInfo[pKnast] = 600;
}
if(GetPlayerWantedLevel(i)==3 GetPlayerWantedLevel(i)== 4)
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 15min. eingespeert.");
WantedPoints = 0;
WantedLevel[i] = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 900;
}
if(GetPlayerWantedLevel(i)==5 GetPlayerWantedLevel(i)== 6)
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 25min. eingespeert.");
WantedPoints[i] = 0;
WantedLevel[i] = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 1500;
}
if(GetPlayerWantedLevel(i)==7 GetPlayerWantedLevel(i)==
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 40min. eingespeert.");
WantedPoints[i] = 0;
WantedLevel[i] = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 2400;
}
}
}[/i][/i][/i][/i][/i]