Advertisement
claude-boss

config pcmod

May 22nd, 2021
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.04 KB | None | 0 0
  1. -- What is the base language?
  2. /*
  3. -- french
  4. -- english
  5. -- turkish
  6. -- polish
  7. -- chinese
  8. -- german
  9. -- spanish
  10. -- russian
  11. */
  12. PCMod.Config.BaseLang = "french"
  13.  
  14. PCMod.Config.CityName = "Rockford"
  15.  
  16. -- Do you want to allow the fast download?
  17. PCMod.Config.FastDL = true
  18.  
  19. -- Wether or not a sound is played when the computer starts up?
  20. PCMod.Config.StartupSound = true
  21.  
  22. -- Add 'PCMod entities' to the F4Menu?
  23. PCMod.Config.F4MenuEntities = {
  24. Enable = true, -- wether or not we add entities to the F4 Menu?
  25. CreateNewCategory = true, -- if true: we will create a new category named 'PCMod' / if false, change the entities's category name below
  26. Entities = { -- list of the entities:
  27. [1] = {
  28. Name = "Laptop",
  29. Ent = "pcmod_laptop", -- class name
  30. Price = 1000, -- price
  31. Model = "models/fleodon/pcmod/fleodon_laptop.mdl", -- model
  32. Category = "PCMod", -- the category where it is sorted
  33. Maxbuy = 1, -- max
  34. Enabled = true, -- wether or not we add this item?
  35. },
  36. [2] = {
  37. Name = "Gaming Desk",
  38. Ent = "pcmod_gamingdesk",
  39. Price = 2500,
  40. Model = "models/models/noahkrueger/epic_fleodon_table.mdl",
  41. Category = "PCMod",
  42. Maxbuy = 1,
  43. Enabled = true,
  44. },
  45. [3] = {
  46. Name = "WIFI Router",
  47. Ent = "pcmod_router",
  48. Price = 750,
  49. Model = "models/fleodon/pcmod/router/fleodon_router.mdl",
  50. Category = "PCMod",
  51. Maxbuy = 2,
  52. Enabled = true,
  53. }
  54. }
  55. }
  56.  
  57. -- 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)
  58. PCMod.Config.LaptopGiveToPlayers = true
  59.  
  60. -- Wether or not players get a laptop computer when they spawn on the server? (the initial spawn when they join the server)
  61. PCMod.Config.GetLaptopOnSpawn = false
  62.  
  63. -- 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)
  64. PCMod.Config.NeedWIFI = true
  65.  
  66. -- What is the signal range of the wifi router?
  67. PCMod.Config.WIFIRouter_Radius = 1200
  68.  
  69. -- What is the key to open the laptop when a player is on a vehicle?
  70. PCMod.Config.LaptopOnVehicleMenuKey = KEY_B
  71.  
  72. -- How long does it is needed to call again a lawyer?
  73. PCMod.Config.TimeToCallAgainLawyer = 60
  74.  
  75. -- How long does it is needed to call again a taxi?
  76. PCMod.Config.TimeToCallAgainTaxi = 60
  77.  
  78. /*
  79. APPLICATIONS AND WEBSITES
  80.  
  81. Write true to enable it;
  82. Write false to disable it.
  83. */
  84. PCMod.Config.Modules = {
  85. ["settings"] = true,
  86. ["browser"] = true,
  87. ["gang"] = true,
  88. ["properties"] = true,
  89. ["services"] = true,
  90. ["store"] = true,
  91. ["whatsup"] = true,
  92. ["police"] = true,
  93. }
  94.  
  95. PCMod.Config.Websites = {
  96. ["darknet"] = true,
  97. ["lawyers"] = true,
  98. ["bank"] = true, -- Supports Glorified Banking / DarkRP Foundation..
  99. ["taxis"] = true,
  100. }
  101.  
  102. /*
  103. SERVER JOBS
  104.  
  105. Write true to enable it;
  106. Write false to disable it.
  107. */
  108. PCMod.Config.Jobs = {
  109. lawyers = { -- DO NOT TOUCH THIS
  110. ["Lawyer"] = true, -- add the lawyers job names.
  111. },
  112. police = { -- DO NOT TOUCH THIS
  113. ["Deputy Sheriff"] = true,
  114. ["Police Chief"] = true,
  115. ["Police Officer"] = true, -- add the police job names.
  116. },
  117. medic = { -- DO NOT TOUCH THIS
  118. ["Medic"] = true,
  119. },
  120. fire = { -- DO NOT TOUCH THIS
  121. ["Firefighter"] = true,
  122. },
  123. taxidrivers = { -- DO NOT TOUCH THIS
  124. ["Taxi Driver"] = true,
  125. }
  126. }
  127.  
  128. /*
  129. STORE
  130.  
  131. CUSTOM CHECKS:
  132. - Use your own function if you want to restrict the item.
  133. - Use the following function if you don't want to restrict the item: CustomCheck = function(ply) return true end
  134.  
  135. Exemple of Custom Check:
  136. CustomCheck = function(ply)
  137. return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
  138. end,
  139. */
  140. -- Wether or not the model rotates in the menu?
  141. PCMod.Config.StoreItems_RotateItem = true
  142.  
  143. PCMod.Config.StoreItems = {
  144. [1] = {
  145. Name = "General",
  146. Items = {
  147. [1] = {
  148. Name = "Lockpick",
  149. Type = "weapon",
  150. Class = "lockpick",
  151. model = "models/weapons/w_crowbar.mdl",
  152. Price = 500,
  153. CustomCheck = function(ply)
  154. return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
  155. end,
  156. CustomCheckFailMessage = "You must be VIP or higher!",
  157. MaxPurchases = 1, -- if 0 there's no limit
  158. MaxPurchasesFailMessage = "You've exceeded the maximum number of purchases!",
  159. },
  160. [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 = "" },
  161. [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 = "" },
  162. [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 = "" },
  163. [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 = "" },
  164. [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 = "" },
  165. [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 = "" },
  166. [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 = "" },
  167. [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 = "" },
  168. [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 = "" },
  169. [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 = "" },
  170. [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 = "" },
  171. },
  172. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  173. ["BLACKLISTEDJOB1"] = true,
  174. ["BLACKLISTEDJOB2"] = true,
  175. },
  176. },
  177. [2] = {
  178. Name = "Utility",
  179. Items = {
  180. [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 = "" },
  181. [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 = "" },
  182. [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 = "" },
  183. },
  184. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  185. ["BLACKLISTEDJOB1"] = true,
  186. ["BLACKLISTEDJOB2"] = true,
  187. },
  188. },
  189. [3] = {
  190. Name = "Printers",
  191. Items = {
  192. [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 = "" },
  193. [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 = "" },
  194. [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 = "" },
  195. },
  196. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  197. ["Police Officer"] = true,
  198. ["Police Chief"] = true,
  199. },
  200. },
  201. [4] = {
  202. Name = "Drugs",
  203. Items = {
  204. [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 = "" },
  205. [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 = "" },
  206. [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 = "" },
  207. },
  208. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  209. ["Police Officer"] = true,
  210. ["Police Chief"] = true,
  211. },
  212. },
  213. [5] = {
  214. Name = "Other",
  215. Items = {
  216. [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 = "" },
  217. [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 = "" },
  218. [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 = "" },
  219. },
  220. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  221. ["BLACKLISTEDJOB1"] = true,
  222. ["BLACKLISTEDJOB2"] = true,
  223. },
  224. },
  225. [6] = {
  226. Name = "Category Example",
  227. Items = {
  228. [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 = "" },
  229. [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 = "" },
  230. [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 = "" },
  231. },
  232. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  233. ["BLACKLISTEDJOB1"] = true,
  234. ["BLACKLISTEDJOB2"] = true,
  235. },
  236. },
  237. [7] = {
  238. Name = "Category Example 2",
  239. Items = {
  240. [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 = "" },
  241. [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 = "" },
  242. [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 = "" },
  243. },
  244. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  245. ["BLACKLISTEDJOB1"] = true,
  246. ["BLACKLISTEDJOB2"] = true,
  247. },
  248. },
  249. }
  250.  
  251. /*
  252. SERVICES
  253.  
  254. Here is the list of the available services of the emergency services app,
  255. configure it as you wish.
  256.  
  257. [X] = { -- #SERVICES+1
  258. Name = "SERVICE NAME", -- Write here the name of the service
  259. Icon = Material(ICON), -- Put here an icon
  260. Description = "DESCRIPTION" -- Add the description of the service
  261. Jobs = { -- Add the jobs of the service
  262. [JOB_EXAMPLE1] = true,
  263. [JOB_EXAMPLE2] = true,
  264. },
  265. ResponseType = RESPONSE_TYPE, -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  266. },
  267. */
  268. PCMod.Config.Services = {
  269. [1] = { -- increment the value by 1 (0+1 = 1)
  270. Name = "Police", -- Write here the name of the service
  271. Icon = Material("materials/pcmod/icons/police.png"), -- Put here an icon
  272. 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.
  273. Jobs = { -- Add the jobs of the service
  274. ["Police Chief"] = true,
  275. ["Police Officer"] = true,
  276. ["Deputy Sheriff"] = true,
  277. },
  278. ResponseType = "police", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  279. },
  280. [2] = { -- increment the value by 1 (1+1 = 2)
  281. Name = "EMS",
  282. Icon = Material("materials/pcmod/icons/ems.png"),
  283. 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",
  284. Jobs = {
  285. ["Police Officer"] = true,
  286. },
  287. EmergencyResponse = false,
  288. ResponseType = "ems", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  289. },
  290. [3] = { -- increment the value by 1 (2+1 = 3)
  291. Name = "Fire",
  292. Icon = Material("materials/pcmod/icons/fire.png"),
  293. 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.",
  294. Jobs = {
  295. ["Police Officer"] = true,
  296. },
  297. EmergencyResponse = false,
  298. ResponseType = "fire", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  299. },
  300. }
  301.  
  302. -- The time needed to send a new request? (in seconds)
  303. PCMod.Config.Service_Time = 10
  304.  
  305. -- Would you like to enable the 911 Emergency Response addon (to send a request)? -> (https://www.gmodstore.com/market/view/6890)
  306. PCMod.Config.Services_EmergencyResponseModule = false
  307.  
  308. -- Wether ot not we show a list of players who are in service's jobs?
  309. PCMod.Config.Services_ShowPlayerList = true
  310.  
  311. /*
  312. WHATSUP
  313. */
  314. PCMod.Config.Whatsup = {
  315. -- Write here the usergroups who can have access to moderator tools:
  316. -- (1) deleting a comment
  317. ["Moderators"] = {
  318. ["moderator"] = true,
  319. ["admin"] = true,
  320. ["superadmin"] = true,
  321. ["owner"] = true,
  322. },
  323. -- Public Timeline
  324. ["GeneralTimeline"] = {
  325. -- Write here the usergroups who can chat on the timeline: (basically everyone should be able to chat on the timeline)
  326. ["Chat"] = {
  327. ["Usergroups"] = {
  328. ["user"] = true,
  329. ["vip"] = true,
  330. ["moderator"] = true,
  331. ["admin"] = true,
  332. ["superadmin"] = true,
  333. ["owner"] = true,
  334. },
  335. ["ErrorMessage"] = "Your usergroup can not send messages!",
  336. },
  337. -- Write here the usergroups who can send images on the public timeline:
  338. ["SendImages"] = {
  339. ["Usergroups"] = {
  340. ["user"] = false, -- write 'true' if you want that users can send images
  341. ["vip"] = true,
  342. ["moderator"] = true,
  343. ["admin"] = true,
  344. ["superadmin"] = true,
  345. ["owner"] = true,
  346. },
  347. ["ErrorMessage"] = "You must be VIP or higher to send images!"
  348. },
  349. },
  350. ["Profiles"] = {
  351. ["CanChangeName"] = {
  352. ["Usergroups"] = {
  353. ["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)
  354. ["vip"] = 5,
  355. ["moderator"] = 10,
  356. ["admin"] = 9999999,
  357. ["superadmin"] = 9999999, -- superadmins will be able to change their name for ever.
  358. ["owner"] = 9999999,
  359. },
  360. ["NoLimit"] = false, -- if 'true' everyone will be able to change his name.
  361. ["ErrorMessage"] = "You can not change your name anymore!",
  362. }
  363. }
  364. }
  365.  
  366. /*
  367. POLICE
  368.  
  369. In this configuration part you will be able to configure the police application.
  370. */
  371. PCMod.Config.Police = {
  372. ["UserInterface"] = {
  373.  
  374. -- Wether or not we draw the police station view in the menu? (if 'false' we will just draw a dark background)
  375. ["Draw_PoliceStation"] = {
  376. enabled = true,
  377. vector = Vector( 2154.660645, 4309.386230, 582.497620 ),
  378. angle = Angle( 19.205854, -83.357475, 0.000000 ),
  379. },
  380. },
  381. ["Features"] = {
  382. -- if 'true' all police officers will be able to see the money contained in anyone’s bank:
  383. ShowBankMoney = true
  384. }
  385. }
  386.  
  387. /*
  388. DARKNET
  389.  
  390. In this configuration part you will be able to configure the darknet website.
  391.  
  392. CUSTOM CHECKS:
  393. - Use your own function if you want to restrict the item.
  394. - Use the following function if you don't want to restrict the item: CustomCheck = function(ply) return true end
  395.  
  396. Exemple of Custom Check:
  397. CustomCheck = function(ply)
  398. return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
  399. end,
  400. */
  401. PCMod.Config.Darknet = {
  402. TimeBeforeClosing = 15, -- The time in seconds, that the user has before the Darknet closes?
  403. AlertPolice = true, -- Do we alert the police when a player exceeds the time?
  404. PoliceGPSTime = 60, -- How long does the gps point stay in place?
  405. Store = {
  406. [1] = {
  407. Name = "Heavy Weapons",
  408. Items = {
  409. [1] = {
  410. Name = "AK-47",
  411. Type = "weapon",
  412. Class = "fas2_ak47",
  413. model = "models/weapons/world/rifles/an94.mdl",
  414. Price = 5000,
  415. CustomCheck = function(ply)
  416. return table.HasValue({"VIP", "superadmin", "admin"}, ply:GetUserGroup())
  417. end,
  418. CustomCheckFailMessage = "You must be VIP or higher!",
  419. MaxPurchases = 1, -- if 0 there's no limit
  420. MaxPurchasesFailMessage = "You've exceeded the maximum number of purchases!",
  421. },
  422. [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 = "" },
  423. [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 = "" },
  424. },
  425. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  426. ["Police Officer"] = true,
  427. ["Police Chief"] = true,
  428. },
  429. },
  430. [2] = {
  431. Name = "Category Example 2",
  432. Items = {
  433. [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 0, MaxPurchasesFailMessage = "" },
  434. [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 0, MaxPurchasesFailMessage = "" },
  435. [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 0, MaxPurchasesFailMessage = "" },
  436. },
  437. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  438. ["Police Officer"] = true,
  439. ["Police Chief"] = true,
  440. },
  441. },
  442. [3] = {
  443. Name = "Category Example 3",
  444. Items = {
  445. [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
  446. [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
  447. [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
  448. },
  449. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  450. ["Police Officer"] = true,
  451. ["Police Chief"] = true,
  452. },
  453. },
  454. [4] = {
  455. Name = "Category Example 4",
  456. Items = {
  457. [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
  458. [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
  459. [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500, CustomCheck = function(ply) return true end, MaxPurchases = 10, MaxPurchasesFailMessage = "" },
  460. },
  461. BlacklistedJobs = { -- Enter here the jobs THAT ARE NOT ALLOWED to purchase the items in the current category.
  462. ["Police Officer"] = true,
  463. ["Police Chief"] = true,
  464. },
  465. },
  466. },
  467. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement