C:\Documents and Settings\SoloW\Desktop\zK Official\pawno\include\JunkBuster.inc(2602) : warning 217: loose indentation C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4374) : error 003: declaration of a local variable must appear in a compound block C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4374) : error 017: undefined symbol "wanted" C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4375) : error 017: undefined symbol "wanted" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4) new wanted = GetPlayerWantedLevel(playerid); SetPlayerWantedLevel(playerid, wanted + 1);
When i push compile i get that errors:
Код:
C:\Documents and Settings\SoloW\Desktop\zK Official\pawno\include\JunkBuster.inc(2602) : warning 217: loose indentation C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4374) : error 003: declaration of a local variable must appear in a compound block C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4374) : error 017: undefined symbol "wanted" C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4375) : error 017: undefined symbol "wanted" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors. Код:
if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4) new wanted = GetPlayerWantedLevel(playerid); SetPlayerWantedLevel(playerid, wanted + 1); |
if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4)
{//this is a compound block
new wanted = GetPlayerWantedLevel(playerid);
}//compound block
SetPlayerWantedLevel(playerid, wanted + 1);
C:\Documents and Settings\SoloW\Desktop\zK Official\pawno\include\JunkBuster.inc(2602) : warning 217: loose indentation C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4375) : warning 204: symbol is assigned a value that is never used: "wanted" C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4377) : error 017: undefined symbol "wanted" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Now i get that...
Код:
C:\Documents and Settings\SoloW\Desktop\zK Official\pawno\include\JunkBuster.inc(2602) : warning 217: loose indentation C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4375) : warning 204: symbol is assigned a value that is never used: "wanted" C:\DOCUME~1\SoloW\Desktop\eRP.pwn(4377) : error 017: undefined symbol "wanted" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4)
{//this is a compound block
new wanted = GetPlayerWantedLevel(playerid);
SetPlayerWantedLevel(playerid, wanted + 1);
}//compound block