Empty Statement?
#1

PHP код:
CMD:buyhouse(playerid,params[])
{
    new 
hid GetHouseID(playerid);
    new 
price HouseInfo[hid][HPrice];
    if(
GetPlayerMoney(playerid) < price) return SendFM(playeridCOLOR_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;

Errors :
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
Reply


Messages In This Thread
Empty Statement? - by vassilis - 26.11.2015, 12:53
Re: Empty Statement? - by N0FeaR - 26.11.2015, 12:56
Re: Empty Statement? - by vassilis - 26.11.2015, 12:58
Re: Empty Statement? - by ATGOggy - 26.11.2015, 12:58
Re: Empty Statement? - by N0FeaR - 26.11.2015, 13:02
Re: Empty Statement? - by thefirestate - 26.11.2015, 13:07
Re: Empty Statement? - by ATGOggy - 26.11.2015, 13:08
Re: Empty Statement? - by ATGOggy - 26.11.2015, 13:12
Re: Empty Statement? - by N0FeaR - 26.11.2015, 13:14
Re: Empty Statement? - by ATGOggy - 26.11.2015, 13:15

Forum Jump:


Users browsing this thread: 5 Guest(s)