19.02.2012, 19:45
Alrigh here is what i do and i fix smth, But i still get error 029 on line 20077
Here are the errors:
pawn Код:
if(strcmp(cmdtext,"/myhouses",true)==0) // Still DEVELOPING
{
new path[32],hown[MAX_STRING],hasker[MAX_STRING];
SendClientMessage(playerid,COLOR_BRIGHTRED,"|___________________________[HOUSES]___________________________|");
for(new i=0;i<sizeof(House);i++)
{
format(path,sizeof(path),"Houses/casa%d.txt",House[i][HouseID]);
hown = dini_Get(path,"owner");
format(hasker, MAX_STRING, "%s", PlayerName(playerid));
/*line:20070*/ if(new MAX_HOUSES[i][House[h] == 1)
{
if(strcmp(dini_Get(path,"owner"),PlayerName(playerid),false) == 0)
{
new text[60];
new atext[60];
if(Houses[i][cclosed] == 1) { text = "Closed"; }
if(Houses[i][cclosed] == 0) { text = "Open"; }
if(Houses[i][cbuyable] == 1) { atext = "On Sale"; }
if(Houses[i][cbuyable] == 0) { atext = "Not For Sale"; }
format(string, sizeof(string), "[House ID%d] [%d] [%d] [Rent: %d] [%s] ",houseid,Houses[i][cclosed],Houses[i][cbuyable],tmpprice,zoneinfoatext,text);
SendClientMessage(playerid,COLOR_GREY,string);
}
}
}
else continue;
}
return 1;
}
pawn Код:
(20077) : error 029: invalid expression, assumed zero
(20077) : error 029: invalid expression, assumed zero
(20077) : error 029: invalid expression, assumed zero
(20077) : fatal error 107: too many error messages on one line