20.04.2012, 01:40
I get these errors
in this line
the code:
pawn Код:
error 036: empty statement
pawn Код:
if(id < 0 || id > MAX_DOORS);
pawn Код:
CMD:createdoor(playerid, params[])
{
if(!(PlayerInfo[playerid][pAdmin] >= 9999)) return SCM(playerid, COLOR_GREY,"No autorized!.");
new input[32],id,value;
if(id < 0 || id > MAX_DOORS);
{
GetPlayerPosData(playerid);
DoorInfo[id][ddExteriorX] = GFFP[playerid][0];
DoorInfo[id][ddExteriorY] = GFFP[playerid][1];
DoorInfo[id][ddExteriorZ] = GFFP[playerid][2];
DoorInfo[id][ddExteriorA] = GFFP[playerid][3];
DoorInfo[id][ddExtVw] = GIFP[playerid][1];
DoorInfo[id][ddExtInt] = GIFP[playerid][0];
SaveDoors();
LoadDoors();
}
return 1;
}