27.07.2012, 10:03
Hello, may someone help me sort this mess out?
error 029: invalid expression, assumed zero
(749) : warning 215: expression has no effect
(749) : error 001: expected token: ";", but found "if"
(751) : warning 215: expression has no effect
(751) : error 001: expected token: ";", but found ")"
(751) : error 029: invalid expression, assumed zero
(751) : warning 215: expression has no effect
(754) : error 030: compound statement not closed at the end of file (started at line 749)
I feel pretty confused
PHP Code:
CMD:buyrifle(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 295.7310,-38.1204,1001.5156))
GivePlayerWeapon(playerid, 33, 1);
GivePlayerMoney(playerid, -400);
{
else if(IsPlayerInRangeOfPoint(playerid, 3.0, 295.7310,-38.1204,1001.5156))
{
GetPlayerMoney(playerid) <400);
SendClientMessage(playerid, 0xFFFFFFAA, "You don't have enough money!");
}
(749) : warning 215: expression has no effect
(749) : error 001: expected token: ";", but found "if"
(751) : warning 215: expression has no effect
(751) : error 001: expected token: ";", but found ")"
(751) : error 029: invalid expression, assumed zero
(751) : warning 215: expression has no effect
(754) : error 030: compound statement not closed at the end of file (started at line 749)
I feel pretty confused