Big Problem
#2

Quote:
Originally Posted by CoLLYY
Посмотреть сообщение
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.
Lines :
Код:
if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4)
	new wanted = GetPlayerWantedLevel(playerid);
    SetPlayerWantedLevel(playerid, wanted + 1);
Thx for help!
declaration of a local variable must appear in a compound block

pawn Код:
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);
Reply


Messages In This Thread
Big Problem - by CoLLYY - 22.08.2010, 08:20
Re: Big Problem - by dax123 - 22.08.2010, 08:22
Re: Big Problem - by CoLLYY - 22.08.2010, 08:29
Re: Big Problem - by dax123 - 22.08.2010, 08:34
Re: Big Problem - by CoLLYY - 22.08.2010, 08:45
Re: Big Problem - by CoLLYY - 22.08.2010, 09:00
Re: Big Problem - by dax123 - 22.08.2010, 09:02

Forum Jump:


Users browsing this thread: 3 Guest(s)