help to correct errors
#3

Here you go :

pawn Код:
forward AGCheck(playerid);
public AGCheck(playerid )// no use of ; here
{
    if(Player[playerid][pVip] < 1)//error
    {
        if(IsPlayerInRangeOfPoint(playerid,7.0,2185.0354003906,-1779.4771728516,5.715816497802))//error
        {
            MoveObject(AutoGate,2185.0354003906,-1779.4771728516,5.7158164978027,10);
        }
        else//error
        {
            MoveObject(AutoGate,2185.0666503906,-1779.4627685547,15.93656539917,10);
        }
    }//forgot one bracket here
    return 1;
}
Reply


Messages In This Thread
help to correct errors - by [HHT]DRON - 08.04.2012, 18:00
Re: help to correct errors - by [HHT]DRON - 09.04.2012, 09:47
Re: help to correct errors - by Shabi RoxX - 09.04.2012, 09:50
Re: help to correct errors - by BMUK - 09.04.2012, 09:51
Re: help to correct errors - by [HHT]DRON - 09.04.2012, 09:54
Re: help to correct errors - by [HHT]DRON - 09.04.2012, 10:07

Forum Jump:


Users browsing this thread: 1 Guest(s)