Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Is_mod Brenbot
Is_mod Brenbot [message #361868] Sun, 07 December 2008 14:20
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
Can I use brenbot mod list or make it so it uses brenbot


bool is_mod(const char *Name)
{
     fstream file("mods.txt", ios::in);
     string tmp;
     while(file >> tmp)
     { 
         if(strcmp(Name, tmp.c_str()) == 0)
          {
               return 1;
         }
     }
     return 0;
}


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sun, 07 December 2008 14:21]

Report message to a moderator

 
Read Message
Previous Topic: Some more questions
Next Topic: 4 Map Questions
Goto Forum:
  


Current Time: Sun Dec 22 17:28:19 MST 2024

Total time taken to generate the page: 0.00597 seconds