Advertisement
Elioriel

config_master.cpp

Jan 17th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 3.72 KB | None | 0 0
  1. /*
  2.     Author: Jean-Park
  3.     Teamspeak 3: ts.the-programmer.com
  4.     Web site: www.the-programmer.com
  5.  
  6.     Terms of use:
  7.       - This file is forbidden unless you have permission from the author. If you have this file without permission to use it please do not use it and do not share it.
  8.       - If you have permission to use this file, you can use it on your server however it is strictly forbidden to share it.
  9.       - Out of respect for the author please do not delete this information.
  10.  
  11. */
  12. #define false 0
  13. #define true 1
  14.  
  15. class The_programmer_Duty_Config {
  16.     default_lang = "fr"; // fr / en
  17.  
  18.     tonic_version = 5; //5 if you are on version 5.0 or 4 if you are on version 4.X  
  19.  
  20.     path_init = "core\init.sqf"; //File destination to be executed : [] execVM "path_init";
  21.     path_fsm = "core\fsm\client.fsm"; //File destination to be executed : [] execFSM "path_fsm";
  22.     briefing = true;
  23.  
  24.     open_beeper_key = 48; //https://community.bistudio.com/wiki/DIK_KeyCodes for the keys number (48 = B)
  25.  
  26.     save_between_disconnection = true; //Save the status of the player between the disconnection
  27.     save_between_reboot = true; //Save the status of the player between reboot
  28.  
  29.     /*type_of_check = "Type";
  30.     Type : Level, Licence */
  31.     type_of_check = "Level";
  32.  
  33.     class east_configuration {
  34.         east_side = true; //If you have the east side on your server = true
  35.         name_of_column_for_adac_level = "adaclevel"; //The name of the column in your database for the adac level
  36.  
  37.         adaclevel_required = 1; //Minimum Adaclevel level to take up duty
  38.         licence_required_adac[] = {""}; //All licenses that allows you to take up duty
  39.  
  40.         Adaclevel_required_to_acces_beeper = 2;//Minimum AdacLevel level to open the beeper
  41.         licence_required_to_acces_beeper = ""; //All licenses that allows you to open the beeper
  42.  
  43.         class adac_cloting {
  44.             items[] = {
  45.             //{"type","classname"}
  46.             // Type : Uniform, Vest, Magazine, Item, Weapon, Headgear
  47.             {"Uniform","U_Rangemaster"},
  48.             {"Item","ItemMap"},
  49.             {"Item","ItemCompass"},
  50.             {"Item","ItemWatch"},
  51.             {"Item","ItemGPS"}
  52.             };
  53.         };
  54.     };
  55.  
  56.     class Cop_configuration {
  57.         coplevel_required = 1; //Minimum CopLevel level to take up duty
  58.         licence_required_cop[] = {""}; //All licenses that allows you to take up duty
  59.  
  60.         coplevel_required_to_acces_beeper = 2; //Minimum CopLevel level to open the beeper
  61.         licence_required_to_acces_beeper = ""; //All licenses that allows you to open the beeper    
  62.  
  63.         class Cop_cloting {
  64.             items[] = {
  65.             //{"type","classname"}
  66.             // Type : Uniform, Vest, Magazine, Item, Weapon, Headgear
  67.                 {"Uniform","U_Rangemaster"},
  68.                 {"Item","ItemMap"},
  69.                 {"Item","ItemCompass"},
  70.                 {"Item","ItemWatch"},
  71.                 {"Item","ItemGPS"}
  72.             };
  73.         };  
  74.     };
  75.  
  76.     class Medic_configuration {
  77.         mediclevel_required = 1; //Minimum mediclevel level to take up duty
  78.         licence_required_med[] = {""};
  79.  
  80.         medlevel_required_to_acces_beeper = 2; //Minimum Medleve level to open the beeper
  81.         licence_required_to_acces_beeper = ""; //All licenses that allows you to open the beeper  
  82.    
  83.         class med_cloting {
  84.             items[] = {
  85.             //{"type","classname"}
  86.             // Type : Uniform, Vest, Magazine, Item, Weapon, Headgear
  87.                 {"Uniform","U_Rangemaster"},
  88.                 {"Item","ItemMap"},
  89.                 {"Item","ItemCompass"},
  90.                 {"Item","ItemWatch"},
  91.                 {"Item","ItemGPS"}
  92.             };
  93.         };
  94.     };
  95. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement