Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Aden_DC.Config.showRoom = {}
- Aden_DC.Config.showRoom[1] = { // Show Room DarkRP
- [1] = {
- model = "models/adc/adc_showroom_1.mdl",
- pos = Vector(120, 0, 66),
- ang = Angle(0, 0, 0),
- },
- [2] = {
- model = "models/mark2580/gtav/mp_apa_06/wardrobe/apa_mpa6_wardrobe_details_high.mdl",
- pos = Vector(130, 0, 61),
- ang = Angle(0, 90, 0),
- },
- [3] = {
- model = "models/mark2580/gtav/mp_apa_06/bedroom/apa_mp_h_acc_artwalll_02_high.mdl",
- pos = Vector(219, 0, 65),
- ang = Angle(0, 180, 0),
- },
- }
- Aden_DC.Config.showRoom[2] = { // Show Room Star Wars
- [1] = {
- model = "models/props/adc/adc_showroom2.mdl",
- pos = Vector(100, 100, 60),
- ang = Angle(0, -160, 0),
- },
- }
- Aden_DC.Config.showRoom[3] = { // Show Room Military
- [1] = {
- model = "models/props/adc/adc_showroom3.mdl",
- pos = Vector(40, -130, 190),
- ang = Angle(0, -80, 0),
- },
- [2] = {
- model = "models/Items/ammocrate_ar2.mdl",
- pos = Vector(160, -150, 10),
- ang = Angle(0, 100, 0),
- },
- [3] = {
- model = "models/Items/ammocrate_ar2.mdl",
- pos = Vector(160, -150, 42),
- ang = Angle(0, 100, 0),
- },
- [4] = {
- model = "models/Items/item_item_crate.mdl",
- pos = Vector(160, -160, 57),
- ang = Angle(0, 100, 0),
- },
- [5] = {
- model = "models/maxofs2d/gm_painting.mdl",
- pos = Vector(188, -160, 160),
- ang = Angle(0, -170, 0),
- },
- [6] = {
- model = "models/Items/ammoCrate_Rockets.mdl",
- pos = Vector(160, 30, 10),
- ang = Angle(0, 10, 0),
- },
- }
- Aden_DC.Config.showRoomChoice = 1 // Choose your show room : 1 = DarkRP - 2 = Star Wars - 3 = Military
- // if you want use a 2d Material for the background :
- // Aden_DC.Config.showRoomChoice = "materials/yourmaterials.png"
- Aden_DC.Config.lightMode = 0.5 // Brithness of the room [0 - 1]
- Aden_DC.Config.spotLight = true // Enable spot light
- Aden_DC.Config.Model = { // All model the player can choose when he create the character ONLY IF YOU DONT USE THE FACTION SYSTEM
- [1] = "models/player/group03m/male_02.mdl",
- [2] = "models/player/group03/male_01.mdl",
- [3] = "models/player/group03m/male_01.mdl",
- [4] = "models/player/group01/male_06.mdl",
- [5] = "models/player/group03/male_08.mdl",
- [6] = "models/player/group03/male_09.mdl",
- [7] = "models/player/group01/female_03.mdl",
- [8] = "models/player/group03m/female_03.mdl",
- [9] = "models/player/group03m/male_04.mdl",
- }
- Aden_DC.Config.enableFaction = false // Enable Faction systeme
- hook.Add("DarkRPFinishedLoading", "ADC::DarkRPFinishedLoading::LoadConfig", function()
- Aden_DC.Config.defaultJobs = { // The Jobs not in a faction
- [TEAM_CITIZEN] = true,
- }
- Aden_DC.Config.listFaction = {
- [1] = {
- name = "Police", // The name of the faction
- mat = Material("materials/img1.png"), // The material of the facton example : Material("materials/adc_materials/jedi.png")
- defaultJobs = { // Jobs the player can select when he create her character and join the faction (Max 3)
- [TEAM_POLICE] = true,
- },
- jobs = { // Whitelist jobs of the faction
- [TEAM_POLICE] = true,
- [TEAM_CHIEF] = true,
- },
- },
- [2] = {
- name = "Criminal",
- mat = Material("materials/img2.png"), // example : Material("materials/adc_materials/sith.png")
- defaultJobs = {
- [TEAM_GANG] = true,
- },
- jobs = {
- [TEAM_GANG] = true,
- [TEAM_MOB] = true,
- }
- },
- }
- end)
- Aden_DC.Config.maxCharacter = {
- [1] = "New Character", // If you set only a text, everyone can create a character
- [2] = "New Character",
- [3] = {
- name = "VIP Only",
- color = Color(241, 253, 91),
- msg = "Your are not VIP !",
- usergroups = { // Only this usergroups can create a character
- ["VIP"] = true,
- ["superadmin"] = true
- }
- },
- /*[5] = {
- name = "Superadmin Only",
- color = Color(237, 28, 36),
- usergroups = {
- ["superadmin"] = true,
- }
- },*/
- }
- Aden_DC.Config.DefaultLang = "en" // Language (check shared/sh_lang.lua)
- Aden_DC.Config.DebugMode = false // Enable the close button in the menu
- Aden_DC.Config.MinimumYears = 1970 // Minimum years of birth
- Aden_DC.Config.CurrentYears = 2021 // Years (config for example WW2 1945)
- Aden_DC.Config.PriceName = 500 // The cost of change name
- Aden_DC.Config.NPCModel = "models/breen.mdl" // NPC Model
- Aden_DC.Config.Music = false // Start a music when the player open the menu ex : "sound/music/hl2_song12_long.mp3" or a URL "https://cdn.discordapp.com/attachments/900837847412637767/957577143364227082/ambiance_aps.wav"
- // for example if you want a music
- // Aden_DC.Config.Music = "https://cdn.discordapp.com/attachments/900837847412637767/957577143364227082/ambiance_aps.wav "
- Aden_DC.Config.ModelScale = true // Enable the scale model
- Aden_DC.Config.ModelMin = 0.9 // Model Scale Min
- Aden_DC.Config.ModelMax = 1.1 // Model Scale Max
- Aden_DC.Config.Open = {}
- Aden_DC.Config.Open.InitialSpawn = true // Open the menu when the player spawn for the first time (Recommended)
- Aden_DC.Config.Open.Respawn = true // Open the menu when the player respawn (If you set at false the player respawn with the last selected character)
- Aden_DC.Config.Open.Command = "!adc" // To disable set to false
- Aden_DC.Config.Open.CommandAdmin = "!adc_admin" // Admin command
- Aden_DC.Config.Open.Key = false // Open the menu with a KEY (example KEY_F2) | To disable set to false
- //Aden_DC.Config.Open.Key = KEY_F2
- Aden_DC.Config.Open.Acces = {
- ["superadmin"] = true // Who have acces to admin menu
- }
- Aden_DC.Config.blackListName = { // Name blacklist
- [""] = true,
- ["Putain"] = true,
- ["Shit"] = true,
- ["Merde"] = true,
- }
- Aden_DC.Config.blackListWeapons = { // Weapons not save
- ["door_ram"] = true,
- ["arrest_stick"] = true,
- ["unarrest_stick"] = true,
- ["stunstick"] = true,
- ["weaponchecker"] = true,
- ["gmod_camera"] = true,
- ["gmod_tool"] = true,
- ["pocket"] = true,
- ["keys"] = true,
- ["weapon_keypadchecker"] = true,
- ["weapon_physgun"] = true,
- ["weapon_physcannon"] = true,
- }
- Aden_DC.Config.saveInformations = { // Set the value you dont want on false
- ["weapon"] = true,
- ["job"] = true,
- ["position"] = true,
- ["health"] = true,
- ["armor"] = true,
- ["money"] = true,
- ["food"] = true,
- }
- //////////////////////Bellow this line don't touch//////////////////////
- for k, v in pairs(Aden_DC.Config.blackListName) do
- Aden_DC.Config.blackListName[string.lower(k)] = v
- end
- if isnumber(Aden_DC.Config.showRoomChoice) then
- Aden_DC.Config.showRoom = Aden_DC.Config.showRoom[Aden_DC.Config.showRoomChoice]
- else
- Aden_DC.Config.showRoom = Material(Aden_DC.Config.showRoomChoice)
- end
- if Aden_DC.Config.Music and string.StartWith(Aden_DC.Config.Music, "http") then
- Aden_DC.Config.SoundFunc = sound.PlayURL
- else
- Aden_DC.Config.SoundFunc = sound.PlayFile
- end
- Aden_DC.Config.listFaction = Aden_DC.Config.listFaction or {}
- Aden_DC.Config.defaultJobs = Aden_DC.Config.defaultJobs or {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement