Some errors
#1

Hello, may someone help me sort this mess out?

PHP Code:
CMD:buyrifle(playeridparams[])
{
if(
IsPlayerInRangeOfPoint(playerid3.0295.7310,-38.1204,1001.5156))
GivePlayerWeapon(playerid331);
GivePlayerMoney(playerid,  -400);
{
else if(
IsPlayerInRangeOfPoint(playerid3.0295.7310,-38.1204,1001.5156))
{
        
GetPlayerMoney(playerid) <400);
        
SendClientMessage(playerid0xFFFFFFAA"You don't have enough money!");

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
Reply


Messages In This Thread
Some errors - by Frosty_LV - 27.07.2012, 10:03
Re: Some errors - by Devilxz97 - 27.07.2012, 10:09
Re: Some errors - by Alexis1999 - 27.07.2012, 10:14
Re: Some errors - by Frosty_LV - 27.07.2012, 10:14
Re: Some errors - by Frosty_LV - 27.07.2012, 10:16
Re: Some errors - by Andi_Evandy - 27.07.2012, 10:18
Re: Some errors - by Devilxz97 - 27.07.2012, 10:33
Re: Some errors - by Alexis1999 - 27.07.2012, 10:38
Re: Some errors - by Devilxz97 - 27.07.2012, 10:42
Re: Some errors - by M3mPHi$_S3 - 28.07.2012, 11:49

Forum Jump:


Users browsing this thread: 2 Guest(s)