do you mean the scope function?
void scope(void) //it was void scope (void);
{
if ( (dbMouseClick() == 2 || dbMouseClick() ==3) && gun_pickup==1) // gun_pickup is not defined..
{
dbSetCameraFOV ( 0, 25.0f) ;
dbShowSprite(7761);
dbHideObject(10); //it was dbHideobject(10);
dbHideObject(110);
zoom=1; // zoom not defined
}
else
{
dbSetCameraFOV ( 0, 62.0f) ;
dbHideSprite(7761);
if (gun==2) //gun not defined
{
dbShowObject(10);
}
zoom=0; // zoom not defined
}
}
//there was an un-necessary bracket here
this code works, if you define the mentioned variables