Jump to content
Sign in to follow this  
linuxmaster9

Server params Help!!

Recommended Posts

I am trying to set the mission params for Domination East Chernarus with from mission pack: DomiA2_2_11_Mission_Pack.

I have been trying things like ranked = 1; in server.cfg but it is never ranked by default.

I want to make it so that when the server restarts it is automatically ranked.

Here is the code segment from my server.cfg

class Missions
{
class Co_Domination_east
       {
       template = "co40_Domination_2_11A2_East.Chernarus";
       difficulty = "veteran";
	   class Params
	   {
	      d_with_ranked = 1;

	   };
       };


};        

And the code from the description.ext of the mission:

	class d_with_ranked {
	title = "Ranked:";
	values[] = {0,1};
#ifndef __RANKED__
	default = 1;
#else
	default = 0;
#endif
	texts[] = {"Yes","No"};
};

Edited by LinuxMaster9

Share this post


Link to post
Share on other sites

title = "Ranked:";

values[] = {0,1};

texts[] = {"Yes","No"};

Ranked: Yes = 0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×