Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- What is the base language?
- /*
- -- french
- -- english
- -- turkish
- -- polish
- -- chinese
- -- german
- -- spanish
- -- russian
- */
- PCMod.Config.BaseLang = "french"
- PCMod.Config.CityName = "Rockford"
- -- Do you want to allow the fast download?
- PCMod.Config.FastDL = true
- -- Wether or not a sound is played when the computer starts up?
- PCMod.Config.StartupSound = true
- -- Add 'PCMod entities' to the F4Menu?
- PCMod.Config.F4MenuEntities = {
- Enable = true, -- wether or not we add entities to the F4 Menu?
- CreateNewCategory = true, -- if true: we will create a new category named 'PCMod' / if false, change the entities's category name below
- Entities = { -- list of the entities:
- [1] = {
- Name = "Laptop",
- Ent = "pcmod_laptop", -- class name
- Price = 1000, -- price
- Model = "models/fleodon/pcmod/fleodon_laptop.mdl", -- model
- Category = "PCMod", -- the category where it is sorted
- Maxbuy = 1, -- max
- Enabled = true, -- wether or not we add this item?
- },
- [2] = {
- Name = "Gaming Desk",
- Ent = "pcmod_gamingdesk",
- Price = 2500,
- Model = "models/models/noahkrueger/epic_fleodon_table.mdl",
- Category = "PCMod",
- Maxbuy = 1,
- Enabled = true,
- },
- [3] = {
- Name = "WIFI Router",
- Ent = "pcmod_router",
- Price = 750,
- Model = "models/fleodon/pcmod/router/fleodon_router.mdl",
- Category = "PCMod",
- Maxbuy = 2,
- Enabled = true,
- }
- }
- }
- -- Does players can drop (give) their laptop on other players? (exemple: https://cdn.discordapp.com/attachments/716760709681381487/794166019006267392/2020-12-31_12-30-09.mp4)
- PCMod.Config.LaptopGiveToPlayers = true
- -- Wether or not players get a laptop computer when they spawn on the server? (the initial spawn when they join the server)
- PCMod.Config.GetLaptopOnSpawn = false
- -- Do you want to allow the wifi system? (if true, players will have to buy a wifi router in order to use some parts of the computer)
- PCMod.Config.NeedWIFI = true
- -- What is the signal range of the wifi router?
- PCMod.Config.WIFIRouter_Radius = 1200
- -- What is the key to open the laptop when a player is on a vehicle?
- PCMod.Config.LaptopOnVehicleMenuKey = KEY_B
- -- How long does it is needed to call again a lawyer?
- PCMod.Config.TimeToCallAgainLawyer = 60
- -- How long does it is needed to call again a taxi?
- PCMod.Config.TimeToCallAgainTaxi = 60
- /*
- APPLICATIONS AND WEBSITES
- Write true to enable it;
- Write false to disable it.
- */
- PCMod.Config.Modules = {
- ["settings"] = true,
- ["browser"] = true,
- ["gang"] = true,
- ["properties"] = true,
- ["services"] = true,
- ["store"] = true,
- ["whatsup"] = true,
- ["police"] = true,
- }
- PCMod.Config.Websites = {
- ["darknet"] = true,
- ["lawyers"] = true,
- ["bank"] = true, -- Supports Glorified Banking / DarkRP Foundation..
- ["taxis"] = true,
- }
- /*
- SERVER JOBS
- Write true to enable it;
- Write false to disable it.
- */
- PCMod.Config.Jobs = {
- lawyers = { -- DO NOT TOUCH THIS
- ["Lawyer"] = true, -- add the lawyers job names.
- },
- police = { -- DO NOT TOUCH THIS
- ["Deputy Sheriff"] = true,
- ["Police Chief"] = true,
- ["Police Officer"] = true, -- add the police job names.
- },
- medic = { -- DO NOT TOUCH THIS
- ["Medic"] = true,
- },
- fire = { -- DO NOT TOUCH THIS
- ["Firefighter"] = true,
- },
- taxidrivers = { -- DO NOT TOUCH THIS
- ["Taxi Driver"] = true,
- }
- }
- /*
- STORE
- CUSTOM CHECKS:
- - Use your own function if you want to restrict the item.
- - Use the following function if you don't want to restrict the item: CustomCheck = function(ply) return true end
- Exemple of Custom Check:
- CustomCheck = function(ply)
- return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
- end,
- */
- -- Wether or not the model rotates in the menu?
- PCMod.Config.StoreItems_RotateItem = true
- PCMod.Config.StoreItems = {
- [1] = {
- Name = "General",
- Items = {
- [1] = {
- Name = "Lockpick",
- Type = "weapon",
- Class = "lockpick",
- model = "models/weapons/w_crowbar.mdl",
- Price = 500,
- CustomCheck = function(ply)
- return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
- end,
- CustomCheckFailMessage = "You must be VIP or higher!",
- MaxPurchases = 1, -- if 0 there's no limit
- MaxPurchasesFailMessage = "You've exceeded the maximum number of purchases!",
- },
- [2] = { Name = "Laptop", Type = "entity", Class = "pcmod_laptop", model = "models/fleodon/pcmod/fleodon_laptop.mdl", Price = 250, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Gaming Desk", Type = "entity", Class = "pcmod_gamingdesk", model = "models/models/noahkrueger/epic_fleodon_table.mdl", Price = 1000, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [4] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [5] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [6] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [7] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [8] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [9] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [10] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [11] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [12] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["BLACKLISTEDJOB1"] = true,
- ["BLACKLISTEDJOB2"] = true,
- },
- },
- [2] = {
- Name = "Utility",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["BLACKLISTEDJOB1"] = true,
- ["BLACKLISTEDJOB2"] = true,
- },
- },
- [3] = {
- Name = "Printers",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["Police Officer"] = true,
- ["Police Chief"] = true,
- },
- },
- [4] = {
- Name = "Drugs",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["Police Officer"] = true,
- ["Police Chief"] = true,
- },
- },
- [5] = {
- Name = "Other",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["BLACKLISTEDJOB1"] = true,
- ["BLACKLISTEDJOB2"] = true,
- },
- },
- [6] = {
- Name = "Category Example",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["BLACKLISTEDJOB1"] = true,
- ["BLACKLISTEDJOB2"] = true,
- },
- },
- [7] = {
- Name = "Category Example 2",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["BLACKLISTEDJOB1"] = true,
- ["BLACKLISTEDJOB2"] = true,
- },
- },
- }
- /*
- SERVICES
- Here is the list of the available services of the emergency services app,
- configure it as you wish.
- [X] = { -- #SERVICES+1
- Name = "SERVICE NAME", -- Write here the name of the service
- Icon = Material(ICON), -- Put here an icon
- Description = "DESCRIPTION" -- Add the description of the service
- Jobs = { -- Add the jobs of the service
- [JOB_EXAMPLE1] = true,
- [JOB_EXAMPLE2] = true,
- },
- ResponseType = RESPONSE_TYPE, -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
- },
- */
- PCMod.Config.Services = {
- [1] = { -- increment the value by 1 (0+1 = 1)
- Name = "Police", -- Write here the name of the service
- Icon = Material("materials/pcmod/icons/police.png"), -- Put here an icon
- Description = "The police are a constituted body of persons empowered by a state, with the aim to enforce the law, to ensure the safety, health and possessions of citizens, and to prevent crime and civil disorder. Their lawful powers include arrest and the use of force legitimized by the state via the monopoly on violence.", -- here a description of the service.
- Jobs = { -- Add the jobs of the service
- ["Police Chief"] = true,
- ["Police Officer"] = true,
- ["Deputy Sheriff"] = true,
- },
- ResponseType = "police", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
- },
- [2] = { -- increment the value by 1 (1+1 = 2)
- Name = "EMS",
- Icon = Material("materials/pcmod/icons/ems.png"),
- Description = "Emergency medical services (EMS), also known as ambulance services or paramedic services, are emergency services that provide urgent pre-hospital treatment and stabilisation for serious illness and injuries and transport to definitive care",
- Jobs = {
- ["Police Officer"] = true,
- },
- EmergencyResponse = false,
- ResponseType = "ems", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
- },
- [3] = { -- increment the value by 1 (2+1 = 3)
- Name = "Fire",
- Icon = Material("materials/pcmod/icons/fire.png"),
- Description = "Firefighters are rescuers extensively trained in firefighting, primarily to extinguish hazardous fires that threaten life, property, and the environment as well as to rescue people and in some cases or jurisdictions also animals from dangerous situations.",
- Jobs = {
- ["Police Officer"] = true,
- },
- EmergencyResponse = false,
- ResponseType = "fire", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
- },
- }
- -- The time needed to send a new request? (in seconds)
- PCMod.Config.Service_Time = 10
- -- Would you like to enable the 911 Emergency Response addon (to send a request)? -> (https://www.gmodstore.com/market/view/6890)
- PCMod.Config.Services_EmergencyResponseModule = false
- -- Wether ot not we show a list of players who are in service's jobs?
- PCMod.Config.Services_ShowPlayerList = true
- /*
- WHATSUP
- */
- PCMod.Config.Whatsup = {
- -- Write here the usergroups who can have access to moderator tools:
- -- (1) deleting a comment
- ["Moderators"] = {
- ["moderator"] = true,
- ["admin"] = true,
- ["superadmin"] = true,
- ["owner"] = true,
- },
- -- Public Timeline
- ["GeneralTimeline"] = {
- -- Write here the usergroups who can chat on the timeline: (basically everyone should be able to chat on the timeline)
- ["Chat"] = {
- ["Usergroups"] = {
- ["user"] = true,
- ["vip"] = true,
- ["moderator"] = true,
- ["admin"] = true,
- ["superadmin"] = true,
- ["owner"] = true,
- },
- ["ErrorMessage"] = "Your usergroup can not send messages!",
- },
- -- Write here the usergroups who can send images on the public timeline:
- ["SendImages"] = {
- ["Usergroups"] = {
- ["user"] = false, -- write 'true' if you want that users can send images
- ["vip"] = true,
- ["moderator"] = true,
- ["admin"] = true,
- ["superadmin"] = true,
- ["owner"] = true,
- },
- ["ErrorMessage"] = "You must be VIP or higher to send images!"
- },
- },
- ["Profiles"] = {
- ["CanChangeName"] = {
- ["Usergroups"] = {
- ["user"] = 2, -- write 'a positive number' if you want that users can change their name (in this example, a user can change his name 2 times)
- ["vip"] = 5,
- ["moderator"] = 10,
- ["admin"] = 9999999,
- ["superadmin"] = 9999999, -- superadmins will be able to change their name for ever.
- ["owner"] = 9999999,
- },
- ["NoLimit"] = false, -- if 'true' everyone will be able to change his name.
- ["ErrorMessage"] = "You can not change your name anymore!",
- }
- }
- }
- /*
- POLICE
- In this configuration part you will be able to configure the police application.
- */
- PCMod.Config.Police = {
- ["UserInterface"] = {
- -- Wether or not we draw the police station view in the menu? (if 'false' we will just draw a dark background)
- ["Draw_PoliceStation"] = {
- enabled = true,
- vector = Vector( 2154.660645, 4309.386230, 582.497620 ),
- angle = Angle( 19.205854, -83.357475, 0.000000 ),
- },
- },
- ["Features"] = {
- -- if 'true' all police officers will be able to see the money contained in anyone’s bank:
- ShowBankMoney = true
- }
- }
- /*
- DARKNET
- In this configuration part you will be able to configure the darknet website.
- CUSTOM CHECKS:
- - Use your own function if you want to restrict the item.
- - Use the following function if you don't want to restrict the item: CustomCheck = function(ply) return true end
- Exemple of Custom Check:
- CustomCheck = function(ply)
- return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
- end,
- */
- PCMod.Config.Darknet = {
- TimeBeforeClosing = 15, -- The time in seconds, that the user has before the Darknet closes?
- AlertPolice = true, -- Do we alert the police when a player exceeds the time?
- PoliceGPSTime = 60, -- How long does the gps point stay in place?
- Store = {
- [1] = {
- Name = "Heavy Weapons",
- Items = {
- [1] = {
- Name = "AK-47",
- Type = "weapon",
- Class = "fas2_ak47",
- model = "models/weapons/world/rifles/an94.mdl",
- Price = 5000,
- CustomCheck = function(ply)
- return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
- end,
- CustomCheckFailMessage = "You must be VIP or higher!",
- MaxPurchases = 1, -- if 0 there's no limit
- MaxPurchasesFailMessage = "You've exceeded the maximum number of purchases!",
- },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, CustomCheckFailMessage = "", MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["Police Officer"] = true,
- ["Police Chief"] = true,
- },
- },
- [2] = {
- Name = "Category Example 2",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 0, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 0, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 0, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["Police Officer"] = true,
- ["Police Chief"] = true,
- },
- },
- [3] = {
- Name = "Category Example 3",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["Police Officer"] = true,
- ["Police Chief"] = true,
- },
- },
- [4] = {
- Name = "Category Example 4",
- Items = {
- [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
- },
- BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
- ["Police Officer"] = true,
- ["Police Chief"] = true,
- },
- },
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement