Some errors
#2

pawn 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!");
    }
    return 1;
}
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: 1 Guest(s)