09.04.2012, 09:50
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;
}