Home   Help Search Login Register  

Author Topic: Rare Problem!  (Read 732 times)

0 Members and 1 Guest are viewing this topic.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Rare Problem!
« on: 10 Mar 2005, 23:14:20 »
Yesterday, i was making a mision (when dont I?:p), i put in the description.ext, the snippet to add music to that mission, i tested it (it worked) and continuing makin the mission, Till I got a OFP:R breackdown when saving the mission...
after restarting I tried to open the mission, but says that enountered in description.ext\cfgmusic "c" insteas of ";" and shut off wolle OFP
I have Disable the description.ext and the mission worked normaly...

What a'hell is wrong whit this??!?!!?!!1

Code: [Select]

onLoadMission = "Dia 1: Tomando Fuerza"
onLoadMissionTime = false

showWatch = 1
showCompass = 1
showNotepad = 1
showGPS = 0
showMap = 1




class CfgMusic
{
   tracks[]={soldado,truble}

   class soldado
   {
      name = "Ska-p - Niño Soldado";
      sound[] = {\Music\Soldado.ogg, db, 1.0};
   };
   class truble
   {
      name = "Bob Marley - So much Truble";
      sound[] = {\Music\truble.ogg, db, 1.0};
   };
};

want any explain!! there is a sintax error? maybe I've Deleted a letter or something else...

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Rare Problem!
« Reply #1 on: 10 Mar 2005, 23:27:48 »
Possibly you need the ';' after this line:

tracks[]={soldado,truble}

Like so:

tracks[]={soldado,truble};


Planck
I know a little about a lot, and a lot about a little.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Rare Problem!
« Reply #2 on: 10 Mar 2005, 23:53:29 »
lol! it solved the problem, bloody sintax problem!

Thanks a lot1