Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*-don't touch-*/ local _blackberry = _blackberry or {};
- /*-don't touch-*/ _blackberry.character_base = _blackberry.character_base or {};
- /*-don't touch-*/ local core = _blackberry.character_base;
- /*-don't touch-*/ core.config = core.config or {};
- /*---------------------------------------------------------------------------
- Base config
- ---------------------------------------------------------------------------*/
- core.config["title"] = "DarkRP Character menu"; // Name of window
- core.config["main_color"] = Color(255, 209, 55); // Default: Color(255, 209, 55)
- core.config["start_points"] = 35; // Start points for attributes
- core.config["create_sound"] = "sound/music/hl2_song19.mp3"; // Music in char creation menu
- core.config["need_recognize"] = true; // Enable recognze system
- core.config["hunger"] = false; // Hunger mod enabled
- core.config["disable_defult_hud"] = true; // Disable default hud
- core.config["max_jail_time"] = 10; // Optional time for arres by Karma of player. The smaller the karma, the longer the arrest
- core.config["karma_kills_point"] = 2; // How many kills for 1 karma point. minimum 1 kill for 1 point
- core.config["recognize_area"] = 300; // Recognize area
- core.config["change_name_price"] = 1500; // Price for changename - 0 for free or false for disable
- /*---------------------------------------------------------------------------
- Stamina config
- ---------------------------------------------------------------------------*/
- core.config["stamina_min_run_speed"] = 240; // Speed when player ran with strenght attribute is 0
- core.config["stamina_max_run_speed"] = 320; // when strengt attribute is max
- core.config["staming_jump_power"] = 200; // attribute is 0
- core.config["staming_max_jump_power"] = 260; // max attribute
- /*---------------------------------------------------------------------------
- Advanced config
- ---------------------------------------------------------------------------*/
- core.config["bot_default"] = { // Default bot character name and description
- ["name"] = "Gabe Newell",
- ["description"] = "Very fat and big man from valve"
- }
- core.config["models"] = { // Models
- ["male"] = {
- "models/player/group01/male_01.mdl",
- "models/player/Group01/Male_02.mdl",
- "models/player/Group01/male_03.mdl",
- "models/player/Group01/Male_04.mdl",
- "models/player/Group01/Male_05.mdl",
- "models/player/Group01/Male_06.mdl",
- "models/player/Group01/Male_07.mdl",
- "models/player/Group01/Male_08.mdl",
- "models/player/Group01/Male_09.mdl"
- },
- ["female"] = {
- "models/player/Group01/Female_01.mdl",
- "models/player/Group01/Female_02.mdl",
- "models/player/Group01/Female_03.mdl",
- "models/player/Group01/Female_04.mdl",
- "models/player/Group01/Female_06.mdl"
- }
- }
- core.config["default_appearance"] = {
- "Ordinary",
- "Tall",
- "Shot",
- "Fat",
- "Thin",
- "Pimply",
- "Stupid",
- "Angry",
- "Darth Vader"
- };
- core.config["default_eyes_color"] = {
- "Blue",
- "Black",
- "Emerald",
- "Brown"
- };
- /*-don't touch-*/ core.config["steps"] = {};
- /*-don't touch-*/ local store = core.config["steps"];
- /*---------------------------------------------------------------------------
- Steps names
- ---------------------------------------------------------------------------*/
- store[#store + 1] = {
- ["name"] = "Base information",
- ["description"] = "Main information about your character"
- };
- store[#store + 1] = {
- ["name"] = "Choose model",
- ["description"] = "Model of your person"
- };
- store[#store + 1] = {
- ["name"] = "Attributes",
- ["description"] = "Choose attributes"
- };
- store[#store + 1] = {
- ["name"] = "Rules",
- ["description"] = "Rules of server",
- ["subtext"] = "Yes, i read all rules and understand the full responsibility of my actions."
- };
- /*-don't touch-*/ core.config["commands"] = {};
- /*-don't touch-*/ local store = core.config["commands"];
- /*---------------------------------------------------------------------------
- Char menu commands
- ---------------------------------------------------------------------------*/
- store[#store + 1] = {
- ["name"] = "Change description",
- ["callback"] = function(lply)
- Derma_StringRequest("Change description", "Enter new description", LocalPlayer():getChar():GetVar("description", ""), function(text)
- netstream.Start("_blackberry.character_base.change_description", text);
- core.derma:close();
- end);
- end
- };
- if (core.config["change_name_price"]) then
- store[#store + 1] = {
- ["name"] = "Change name ("..core.config["change_name_price"].."$)",
- ["callback"] = function(lply)
- Derma_StringRequest("Change name", "Enter new name", LocalPlayer():getChar():GetVar("name", ""), function(text)
- netstream.Start("_blackberry.character_base.change_name", text);
- core.derma:close();
- end);
- end
- };
- end;
- /*-don't touch-*/ core.config["rules"] = {};
- /*-don't touch-*/ local store = core.config["rules"];
- /*---------------------------------------------------------------------------
- Rules
- ---------------------------------------------------------------------------*/
- store[#store + 1] = "All default laws are always in effect, even without a Mayor";
- store[#store + 1] = "Do not commit acts of Random Death Match (RDM)";
- store[#store + 1] = "Do not break the New Life Rule (NLR)";
- store[#store + 1] = "Do not demote players randomly or for false reasons. You may not demote players while staff are online";
- store[#store + 1] = "Do not prop minge";
- store[#store + 1] = "Do not break the FearRP rules";
Advertisement
Add Comment
Please, Sign In to add comment