OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: moondogy on 11 Aug 2004, 21:27:50

Title: "zasleh bug resolution" problem
Post by: moondogy on 11 Aug 2004, 21:27:50
Hi!

...hmmm...Again problem with config. It worked, but when i wanted to correct the zasleh bug.

class CfgModels
{
      
   class Default
   {
   sections[]={};
   sectionsInherit="";
   };
   class Weapon: Default
   {
   sections[]={"zasleh"};
   };
   class BigGunMG: Weapon {};
   {
   class BigGun_scope: Weapon {};   
   };
};
 sth is wrong in these lines. what?

ty in advance!
Title: Re:"zasleh bug resolution" problem
Post by: Roni on 12 Aug 2004, 01:02:23
Hi moondogy

Try this -

class CfgModels
{
     
   class Default
   {
   sections[]={};
   sectionsInherit="";
   };
   class Weapon: Default
   {
   sections[]={"zasleh"};
   };
   class BigGunMG: Weapon {};
   class BigGun_scope: Weapon {};  
 
};



Note brackets removed around BigGunM_scope: Weapon - you already have brackets following the above line so these were redundant.

I'm not sure if this is what you want but that should fix it !



Roni