Advertisement
TheDenVxUA

Untitled

Apr 20th, 2020
1,977
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.74 KB | None | 0 0
  1. PUBG = PUBG or {}--DO NOT TOUCH
  2. PUBG.Config = {}--DO NOT TOUCH
  3. PUBG.language = PUBG.language or {} --DO NOT TOUCH
  4. ----------------------------------------------
  5. --EDIT BELOW THIS LINE
  6.  
  7. -- -- --
  8. --NEW CONFIGS
  9. --(v2.1)
  10. PUBG.Config.HidePickupNames = true --Set to true to disable it showing names of items on the HUD, e.g "E) PICKUP Gun" will just now be "E) PICKUP"
  11.  
  12. --(v2.0)
  13.  
  14. --Below is the URL for the background image of the options menu
  15. --No content download required!
  16. PUBG.Config.ThemeURL = "https://i.imgur.com/caHe5Bx.jpg"
  17.  
  18. --The link to your community logo picture
  19. PUBG.Config.LogoURL = "https://i.imgur.com/9CE5ObO.png"
  20.  
  21. PUBG.Config.EditorSAOnly = false--Should the armor editor be SA only? Set to false to allow Admins to use also
  22.  
  23. --(v1.5)
  24. PUBG.Config.NoToolTips = false --Set to true to disable tool tips
  25. PUBG.Config.ArmorNoDrawGLOBAL = false --If true, armor will not be visible when worn for every player
  26. PUBG.Config.ArmorNoDrawJobs = { --(DarkRP) Same as above, but instead armor not visible for any job name in here
  27.     "Job Name", --(Case sensitive)
  28. }
  29.  
  30.  
  31. --BLACKLIST / WHITELIST
  32. --A whitelist has been added for people who's lives it'd make easier picking up only what you specify
  33. --If the whitelist is set to true, the blacklist table will not be used
  34.  
  35. --Using the whitelist means only entity classes you provide can be picked up
  36. --Using the blacklist means everything other than what you provide can be picked up
  37.  
  38. PUBG.Config.Whitelist = false --Use the whitelisting over blacklisting method?
  39. PUBG.Config.WhitelistENTS = { --If TRUE, then put all entity classes here
  40.     "ptp_weapon_base",
  41.     "tfa_3dbash_base",
  42.     "tfa_akimbo_base",
  43.     "tfa_gun_base",
  44.     "tfa[%w_]*",
  45.     "weapons",
  46.     "sent_ball",
  47.         --"dsr_drug_package",
  48.     "entity_drone_transporter",
  49.     "entity_drone_spy",
  50.     "entity_drone_gold",
  51.     "entity_drone",
  52.     "dsr_drugtable",
  53.     "sent_ball",
  54.     "cpk_helm_blue",
  55.     "cpk_kevlar_blue",
  56.     "cpk_helm_green",
  57.     "cpk_kevlar_green",
  58.     "cpk_helm_light",
  59.     "cpk_kevlar_light",
  60.     "cpk_helm_tactical",
  61.     "cpk_kevlar_tactical",
  62.     "food_bacon",
  63.     "food_burger",
  64.     "food_californiaroll",
  65.     "food_cheesepizza",
  66.     "food_shake",
  67.     "food_egg",
  68.     "food_alfredo",
  69.     "food_ikuramaki",
  70.     "food_macncheese",
  71.     "food_pennepasta",
  72.     "food_pepperonipizza",
  73.     "food_salmonroll",
  74.     "food_spaghetti",
  75.     "food_spaghettinmeatballs",
  76.     "food_tamagoegg",
  77.     "food_twinkie",
  78.     "sent_ammodispenser",
  79.     --"npc_civ",
  80.     --"npc_civ_cop",
  81.     "bm2_bitminer_1",
  82.     "bm2_bitminer_2",
  83.     "bm2_bitminer_rack",
  84.     "bm2_bitminer_server",
  85.     "bm2_extention_lead",
  86.     "bm2_fuel",
  87.     "bm2_generator",
  88.     "bm2_power_lead",
  89.     --"armormachine",
  90.     --"foodmachine",
  91.     --"healingmachine",
  92.     --"ammomachine",
  93.     "vc_pickup_exhaust",
  94.     "vc_pickup_exhaust",
  95.     "vc_pickup_engine",
  96.     "vc_pickup_tire",
  97.     "vc_pickup_fuel_diesel",
  98.     "vc_pickup_fuel_petrol",
  99.     "vc_pickup_fuel_electricity",
  100.     --"sb_wk_seat",
  101.     "sb_product",
  102.     "sb_good_box",
  103.     "sb_crime_box",
  104.     --"sb_wk_place",
  105.     --"apc_computer",
  106.     "fs_apple",
  107.     "fs_baby",
  108.     "fs_cabbage",
  109.     "fs_lemon",
  110.     "fs_melon",
  111.     "fs_orange",
  112.     "fs_potato",
  113.     "fs_tomato",
  114.     --"cookingmod_coffee_machine",
  115.     --"cookingmod_stove",
  116.     "cookingmod_pan",
  117.     --"cookingmod_bag",
  118.     "cookingmod_frying_pan",
  119.     "cookingmod_gas_cylinder",
  120.     --------------------------------------------------------------
  121.     --"cookingmod_ing_6",
  122.     --"cookingmod_ing_5",
  123.     --"cookingmod_ing_7",
  124.     --"cookingmod_ing_1",
  125.     --"cookingmod_ing_4",
  126.     --"cookingmod_ing_3",
  127.     --"cookingmod_ing_2",
  128.     --"cookingmod_ing_0",
  129.     "fs_watermelon",
  130.     "icarus_crafting_table",
  131.     "mediaplayer_tv",
  132.     "whk_tv",
  133.     "whk_radio",
  134.     "uweed_light",
  135.     "uweed_light_big",
  136.     "pw_billions_businesspc",
  137.     "lean_cup",
  138.     "whk_musicplayer",
  139.     "texstickers_blueprint",
  140.     --TFA--
  141.     "tfa*",
  142.     "tfa_ayykyu_aa12",
  143.     "tfa_ins2_acr",
  144.     "tfa_ins2_ak400",
  145.     "tfa_ins2_cw_ar15",
  146.     "tfa_ins2_aug",
  147.     "tfa_barrett_m98_bravo",
  148.     "tfa_l4d2_ctm200",
  149.     "tfa_ins2_legal_cz75auto",
  150.     "tfa_ins2_cz75",
  151.     "tfa_ins2_fas2_g36c",
  152.     "tfa_doom_gauss",
  153.     "tfa_ins2_glock_19",
  154.     "tfa_ins2_hk_mg36",
  155.     "tfa_ins2_417",
  156.     "tfa_ins2_krissv",
  157.     "tfa_ins2_ksg",
  158.     "tfa_ins2_m9",
  159.     "tfa_ins2_minimi",
  160.     "tfa_ins2_mk18mod",
  161.     "tfa_ins2_mp5a4",
  162.     "tfa_ins2_codol_msr",
  163.     "tfa_ins2_mwr_p90",
  164.     "tfa_ins2_norinco_qbz97",
  165.     "tfa_ru_556m",
  166.     "tfa_remington_m24_sws",
  167.     "tfa_remington_m870",
  168.     "tfa_ins2_rpk_74m",
  169.     "tfa_ins2_scarh",
  170.     "tfa_ins2_scarl",
  171.     "tfa_ins2_spas12",
  172.     "tfa_ins2_sr25",
  173.     "tfa_ins2_usp",
  174.     "tfa_ins2_vss",
  175.     "tfa_wilcombat_1911",
  176.     "fruitapple1",
  177.     "tfa_",
  178.     "tfa",
  179.     "TFA RedSunrise Project",
  180.     "fruitapple2",
  181. }
  182.  
  183. --(Only use if whitelist is set to false)
  184. --Blacklist
  185. PUBG.Config.Blacklist = {--Put any item classes that the player CANNOT pickup here.
  186.     "grenade_helicopter",
  187.     "prop_physics",
  188.     "prop_physics_multiplayer",
  189.     "slowns_market_item",
  190.     "slowns_market_npc",
  191.     "realistic_propeties_npc",
  192.     "mcs_npc",
  193.     "employer",
  194.     "cardealer_facture",
  195.     "cardealer_garage",
  196.     "cardealer_garage_job",
  197.     "cardealer_garage_trigger",
  198.     "cardealer_printer",
  199.     "cardealer_stand",
  200.     "cardealer_tablet_ent",
  201.     "cardealer_custom_trigger",
  202.     "cardealer_custom_visual",
  203.     "cardealer_reseller",
  204.     "jewelryrobbery_*",
  205.     -- -- --
  206. }
  207. -- -- --
  208.  
  209. --General
  210. PUBG.Config.FastDL = false --Allow FastDL for content?
  211. PUBG.Config.WorkshopDL = true --Use WorkshopDL for content?
  212. PUBG.Config.AllowStealing = false --(DarkRP) Set to true to allow players to pick up items belonging to another player
  213. PUBG.Config.PickupRange = 200 --Range players can pickup items (in source/gmod units) (default = 80)
  214. PUBG.Config.DeSpawnTime = 5--Time in MINUTES of how long it takes to de-spawn dropped inventory items
  215.  
  216. PUBG.PickupKey = KEY_R --Default pickup key (can be changed in the options in-game regardless)
  217. PUBG.InventoryKey = KEY_L --Default inventory menu bind (can be changed in the options in-game regardless)
  218.  
  219. --The below config disables the C Menu (attachment menu) on the customizable SWEPS
  220. --This is useful if you want players to focus on using the inventory for attachments
  221. --This would also mean players cannot switch as easily mid-combat
  222. PUBG.Config.DisableWepHUDS = false --Set to true to disable the attachment menu on CW2/FAS2/TFA
  223.  
  224. --The config below is in place to ensure players do not spawn too many items at once
  225. --as that would crash the server or make things laggy
  226. --To disable it set it to 0 - this is not recommended as items stack when dropped anyway.
  227. --Recommended Value: (10-20)
  228. PUBG.Config.MaxSpawnedENTS = 10--Max amount of items a player can have dropped before being allowed to drop more
  229.  
  230. --Icons (TO get weapon class, find the SWEP in the Q menu, right click, copy to clipboard)
  231. PUBG.Config.Icons = {
  232.   --CW 2.0
  233.     ["tfa[%w_]*"] = "pubg/icons/akm.png", --["weapon class"] = "dir/to/icon.png" (dont forget comma at end)
  234.     ["cw_ak74"] = "pubg/icons/akm.png", --["weapon class"] = "dir/to/icon.png" (dont forget comma at end)
  235.     ["cw_ak74"] = "pubg/icons/akm.png", --["weapon class"] = "dir/to/icon.png" (dont forget comma at end)
  236.     ["cw_ar15"] = "pubg/icons/hk416.png",
  237.     ["cw_g3a3"] = "pubg/icons/g3.png",
  238.     ["cw_mp5"] = "pubg/icons/ump.png",
  239.     ["cw_deagle"] = "pubg/icons/m1911.png",
  240.     --["tfa_ins2_cw_ar15"] = "pubg/icons/m1911.png",
  241. }
  242.  
  243. PUBG.Config.Description = {
  244.     ["sent_ball"] = "A fun bouncy ball that gives you health once you use it.", --["item class"] = "description of item" (dont forget comma at end)
  245.     ["sent_vj_adminhealthkit"] = "A health kit healing the user up completely.",
  246.     ["tfa[%w_]*"] = "A health kit healing the user up completely."
  247. }
  248.  
  249. --Weight
  250. PUBG.Config.VIPGroups = {--Put the names of your VIP groups here
  251.     "donator",
  252.     "vip",
  253.     "superadmin",
  254. }
  255.  
  256. PUBG.Config.MaxWeight_User = 100 --Default start weight for players
  257. PUBG.Config.MaxWeight_VIP = 150 --Default start weight for VIP/Doner users
  258. PUBG.Config.Backpack1_Add = 25 --How much extra weight is added when wearing a level 1 backpack
  259. PUBG.Config.Backpack2_Add = 40 --How much extra weight is added when wearing a level 2 backpack
  260. PUBG.Config.Backpack3_Add = 75 --How much extra weight is added when wearing a level 3 backpack
  261.  
  262.  
  263. --ANY ITEMS NOT IN THE TABLE BELOW WILL HAVE A WEIGHT OF '1' BY Default
  264. PUBG.Config.Weights = { --The weight of the items. To get an item class, in the Q menu right click, copy to clipboard
  265.     ["sent_ball"] = 2, --["entity class"] = <weight>  (dont forget commas)
  266.     ["cw_ammo_338lapua"] = 1,
  267.     -- -- --
  268.     ["tfa[%w_]*"] = 3, --Level 1 Helmet
  269.     ["tfa_ins2_cw_ar15"] = 3, --Level 1 Helmet
  270.     ["pubg_helmet_1"] = 5, --Level 1 Helmet
  271.     ["pubg_helmet_2"] = 10, --Level 2 Helmet
  272.     ["pubg_helmet_3"] = 15, --Level 3 Helmet
  273.     --
  274.     ["pubg_armor_1"] = 10, --Level 1 Armor
  275.     ["pubg_armor_2"] = 15, --Level 2 Armor
  276.     ["pubg_armor_3"] = 20, --Level 3 Armor
  277.     -- -- --
  278.     ["sent_vj_adminhealthkit"] = 30,
  279. }
  280.  
  281. --Names
  282. PUBG.Config.Names = { --The item names. Get the class the same way as above.
  283.     ["sent_ball"] = "Bouncy Ball", --["entity class"] = "Item Name" (dont forget commas at end)
  284.     ["sent_vj_adminhealthkit"] = "Health Kit",
  285.     --WEAPONS
  286.     ["cw_ar15"] = "AR-15",
  287.     --ARMORS/HELMETS
  288.     ["pubg_helmet_1"] = "Level 1 Helmet",
  289.     ["pubg_helmet_2"] = "Level 2 Helmet",
  290.     ["pubg_helmet_3"] = "Level 3 Helmet",
  291.  
  292.     ["pubg_armor_1"] = "Level 1 Armor",
  293.     ["pubg_armor_2"] = "Level 2 Armor",
  294.     ["pubg_armor_3"] = "Level 3 Armor",
  295.  
  296.     ["tfa_ins2_cw_ar15"] = "AR-15",
  297.     ["pubg_backpack_1"] = "Level 1 Backpack",
  298.     ["pubg_backpack_2"] = "Level 2 Backpack",
  299.     ["pubg_backpack_3"] = "Level 3 Backpack",
  300.     --CW 2.0 ATTACHMENTS
  301.     ["bg_ak74_ubarrel"] = "Short Barrel",
  302. }
  303.  
  304.  
  305. --Language
  306. --These are the phrases that appear on Inventory notifications
  307. --On NON-ENGLISH servers feel free to change/translate
  308.  
  309. PUBG.language.FAS2Cust = "Вы можете настроить это оружие FAS 2 только тогда, когда оно надето!"
  310. PUBG.language.ItemFar = "Этот предмет слишком далеко, чтобы забрать!"
  311. PUBG.language.CantSteal = "Вы не можете украсть этот предмет, поскольку он принадлежит другому игроку."
  312. PUBG.language.CantPickup = "Вы не можете забрать этот предмет!"
  313. PUBG.language.NoSpace = "Вам не хватает места!"
  314. PUBG.language.InitInv = "Инвентаризация инициализирована! Введите /pubginv в чате, чтобы вызвать параметры."
  315. PUBG.language.CantUBackpack = "Вы не можете снять этот рюкзак, пока не выложите из него вещи!"
  316. PUBG.language.CantSwapBackpack = "Вы не можете оборудовать другой рюкзак, пока не понесете меньше!"
  317. PUBG.language.DropItems = "Вы сбросили слишком много предметов! Они должны исчезнуть, прежде чем бросить больше."
  318. PUBG.language.Vicinity = "ПОБЛИЗОСТИ" --The text for vicinity on the inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement