26.11.2015, 12:53
PHP код:
CMD:buyhouse(playerid,params[])
{
new hid = GetHouseID(playerid);
new price = HouseInfo[hid][HPrice];
if(GetPlayerMoney(playerid) < price) return SendFM(playerid, COLOR_WHITE, ""COL_RED"SERVER"COL_WHITE":You can't buy this house it is too expensive for you! House Price %d",price);<<<<==9735
if(HouseInfo[hid][HOwned] == 1) return SendClientMessage(playerid,-1,""COLOR_RED"SERVER"COL_WHITE"You can't buy this house because it is already bought!"); <<<----9736
if(HouseInfo[hid][HOwnerID] == pinfo[playerid][ID]) return SendClientMessage(playerid, -1, ""COL_RED"You can't buy your own house!");
HouseBuy(playerid);
return 1;
}
pawn Код:
mysql.pwn(9735) : error 029: invalid expression, assumed zero
mysql.pwn(9735) : error 036: empty statement
mysql.pwn(9736) : error 001: expected token: "-string end-", but found "-identifier-"
mysql.pwn(9736) : warning 215: expression has no effect
mysql.pwn(9736) : error 001: expected token: ";", but found "-string-"
mysql.pwn(9736) : warning 215: expression has no effect
mysql.pwn(9736) : error 001: expected token: ";", but found ")"
mysql.pwn(9736) : fatal error 107: too many error messages on one line