Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Pointshop 2 points
- -- Pointshop 2 items should drop
- -- Can pay with pointshop 2
- /////////////////////////////////////////////////////////////////////////////
- ////////PLEASE READ THIS ITS IMPORTANT OR YOUR SERVER WILL BREAK!////////////
- /////////////////////////////////////////////////////////////////////////////
- //Each item now requires a unqie NUMBER id before anything else.
- //If you look at the examples below all items have an id before the item name now
- //Dont ever change an item ID or the item will be deleted from the ivnentory
- //Dont ever replace an ID either (Or the old items turn into the new ones)
- --Dont edit this part
- if SERVER then
- AddCSLuaFile()
- AddCSLuaFile("uc2_subconfig.lua")
- end
- include("uc2_subconfig.lua")
- --If set to true, when the player spawns it will give them all the permamanet weapons they have so they dont have to spawn it from the menu.
- BUC2.GivePermaWeaponsOnSpawn = true
- --This will announce when ever someone unboxing something.
- BUC2.AnnounceUnboxings = true
- BUC2.CanTradePermaWeapons = false --If this is true then user can trade permanent items. This can be used to abuse buy equiping then trading. (False is recomended)
- --Edit under here.
- BUC2.BuyItemsWithPoints = false --If this is false then it WILL use darkrp cash.
- BUC2.BuyItemsWithPoints2 = false --If this is false then it WILL use darkrp cash (Make sure only 1 is try at a time).
- --If this is true then it will use point shop points rather than DarkRP cash.
- BUC2.RanksThatCanGiveItems = { --This is the ranks that have access to give items using !unboxadmin
- "superadmin",
- }
- BUC2.ShouldDropCratesAndKeys = true --If this is false then keys and crates wont drop to users
- BUC2.DropTimer = 25 --This is in minutes how long it will wait before dropping the next crate or key
- BUC2.DropsAreRankLimited = true --If this is true then items will only drop for people in the drop rank list below
- BUC2.DropRankList = { --This is a list of ulx ranks the items can drop for, If BUC2.DropsAreRankLimited is false then this wont be used.
- "donator1",
- "donator2",
- "admins",
- "superadmin",
- "mod",
- "vip"
- } --Add what ever ulx ranks you want to the list.
- --for bu_addCrate argument 1 is the main name, argument 2 is the description, argument 3 is the colour,
- --argument 4 is the only key that can open this crate, argument 5 is if it can randomly drop,
- --argument 6 is if you can buy it and argument 7 is the price
- bu_addCrate(1, "Money Crate" , "Contain cash" , Color(249,200,7,255) , "Universal Key" , false , true , 15000)
- --bu_addCrate(2, "Bayonet Crate" , "Contains a Perma Bayonet Knife" , Color(226,0,142,255 ) , "Universal Key" , false , true , 15000)
- --bu_addCrate(3, "Bowie Knife Crate" , "Contains a Perma Bowie Knife" , Color(98,251,62,255 ) , "Universal Key" , false , true , 15000)
- --bu_addCrate(4, "Butterfly Crate" , "Contains a Perma Butterfly Knife" , Color(54,11,232,255) , "Universal Key" , false , true , 15000)
- --bu_addCrate(5, "Falchion Crate" , "Contains a Perma Falchion Knife" , Color(54,166,18,255) , "Universal Key" , false , true , 15000)
- bu_addCrate(6, "Karambit Crate" , "Contains a Perma Karambit Knife" , Color(65,169,147,255) , "Universal Key" , false , true , 15000)
- --bu_addCrate(7, "M9 Bayonet Crate" , "Contains a Perma M9 Knife" , Color(219,107,243,255) , "Universal Key" , false , true , 15000)
- --bu_addCrate(8, "Gutknife Crate" , "Contains a Perma Gutknife Knife" , Color(75,132,248,255) , "Universal Key" , false , true , 15000)
- --bu_addCrate(9, "Shadow Dagger Crate" , "Contains a Perma Shadow Dagger Knife" , Color(75,132,248,255) , "Universal Key" , false , true , 15000)
- --bu_addCrate(10, "Huntsman Crate" , "Contains a Perma Huntsman Knife" , Color(75,132,248,255) , "Universal Key" , false , true , 15000)
- --Huntsman Crate
- --for bu_addKeyargument 1 is the main name, argument 2 is the description, argument 3 is the colour,
- --argument 4 is if it can drop, argument 5 is if you can buy it and argument 6 is the price
- bu_addKey(11,"Universal Key" , "Opens Knife crates" , Color(151,151,151,255) , false, true , 15000)
- --for bu_addWeaponthe first argument is the weapons name , the second argument is the description,
- --the third argument is the weapons classname like fas2_ak47 you find it by right clicking a weapon
- --and copying to clipboard, argument 4 is the model you want displayed you need the model directory for
- --this which you find by right clicking the prop version and copying to clipboard, argument 5 is the colour,
- --argument 6 is the name of the crate it is found in, argument 7 is the chance the user will get it and argument 8
- --dictates if the weapon is permanent or not
- --for bu_addMoney the first argument is the main name, the second argument is the description,
- --the third argument is the ammount of money the user recieves, the fourth argument is the colour,
- --the fifth argument is the name of the crate that holds it, the sixth argument is the chance it will appear
- bu_addMoney(12,"$10000 Cash" , "An instant $1000" , 10000 , Color(50,50,255) , "Money Crate", 100)
- bu_addMoney(13,"$15000 Cash" , "An instant $2000" , 15000 , Color(50,50,255) , "Money Crate", 100)
- bu_addMoney(14,"$20000 Cash" , "An instant $20000" , 20000 , Color(255,0,200) , "Money Crate", 10)
- bu_addMoney(15,"$25000 Cash" , "An instant $25000" , 25000 , Color(255,0,200) , "Money Crate", 10)
- bu_addMoney(16,"$30000 Cash" , "An instant $30000" , 30000 , Color(255,15,15) , "Money Crate", 5)
- bu_addMoney(17,"$35000 Cash" , "An instant $35000" , 35000 , Color(255,15,15) , "Money Crate", 5)
- bu_addMoney(18,"$100000 Cash" , "An instant $100000" , 100000 , Color(255,215,0) , "Money Crate", 1)
- --------
- bu_addWeapon(19,"Karambit", "A Knife", "csgo_karambit" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(20,"Karambit | Blue Steel", "A Knife", "csgo_karambit_bluesteel" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(21,"Karambit | Boreal Forest", "A Knife", "csgo_karambit_boreal" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(22,"Karambit | Case Hardened", "A Knife", "csgo_karambit_case" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(23,"Karambit | Crimson Web", "A Knife", "csgo_karambit_crimsonwebs" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(24,"Karambit | Damascus Steel", "A Knife", "csgo_karambit_damascus" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(25,"Karambit | Fade", "A Knife", "csgo_karambit_fade" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(26,"Karambit | Forest DDPAT", "A Knife", "csgo_karambit_ddpat" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(27,"Karambit | Marble Fade", "A Knife", "csgo_karambit_marblefade" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(28,"Karambit | Slaughter", "A Knife", "csgo_karambit_slaughter" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(29,"Karambit | Tiger Tooth", "A Knife", "csgo_karambit_tiger" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(30,"Karambit | Autotronic", "A Knife", "csgo_karambit_autotronic" , "models/weapons/w_csgo_karambit.mdl", Color(255,215,0) , "Karambit Crate" , 2 , false)
- bu_addWeapon(31,"Karambit | Black Laminate", "A Knife", "csgo_karambit_black_laminate" , "models/weapons/w_csgo_karambit.mdl", Color(255,0,0) , "Karambit Crate" , 1 , false)
- bu_addWeapon(32,"Karambit | Bright Water", "A Knife", "csgo_karambit_bright_water" , "models/weapons/w_csgo_karambit.mdl", Color(255,0,0) , "Karambit Crate" , 1, false)
- bu_addWeapon(33,"Karambit | Freehand", "A Knife", "csgo_karambit_freehand" , "models/weapons/w_csgo_karambit.mdl", Color(255,0,0) , "Karambit Crate" , 1 , false)
- bu_addWeapon(34,"Karambit | Gamma Doppler", "A Knife", "csgo_karambit_gamma_doppler" , "models/weapons/w_csgo_karambit.mdl", Color(255,0,0) , "Karambit Crate" , 1 , false)
- bu_addWeapon(35,"Karambit | Lore", "A Knife", "csgo_karambit_lore" , "models/weapons/w_csgo_karambit.mdl", Color(255,0,0) , "Karambit Crate" , 0.5 , true)
- --A Pointshop item is also done like rest, See the comment bellow.
- --the first argument is the main name, the second argument is the description,
- --the third argument is the print name of the pointshop item if you're unsure export the items and see "Name",
- --the fourth argument is the model, the fifth argument is the colour, the sixth is the name of the crate
- --that holds it, the seventh argument is the chance it will appear
- --bu_addPSItem("Cone hat" , "A Cool hat" , "conehat" , "somemodel",Color(255,255,255,255) , "SomeCrateName", 100)
- --To add pointshop2 items do the below
- --You can remove this line, Its just to let you know the config loaded properly
- print("[UNBOXING INFO] UNBOXING CONFIG LOADED!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement