Advertisement
GlorifiedPig

Untitled

Oct 10th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.30 KB | None | 0 0
  1. --[[ MODEL CONFIG ]]--
  2. policearmoury.config.POLICE_ARMOURY_MODEL = "models/props_c17/Lockers001a.mdl" -- model for the armoury
  3. policearmoury.config.POLICE_ARMOURY_SHOW_TEXT = true -- should show text above the armoury model?
  4. policearmoury.config.POLICE_ARMOURY_TEXT_COLOUR = Color( 0, 191, 255, 255 ) -- colour for the text above the armoury
  5.  
  6. --[[ ROBBERY CONFIG ]]--
  7. policearmoury.config.LOCKPICK_WEAPON = "lockpick" -- the weapon you use for the lockpick
  8. policearmoury.config.ROBBERY_JOBS = { TEAM_THIEF, TEAM_CITIZEN } -- the jobs who can commit robbery
  9. policearmoury.config.ROBBERY_TIME = 30 -- time in seconds the robbery takes
  10. policearmoury.config.ROBBERY_WEAPONS = { "weapon_ak472", "weapon_bms_glock", "weapon_bms_357", "weapon_bms_mp5", "weapon_bms_shotgun" }
  11. policearmoury.config.TIME_BETWEEN_ROBBERIES = 30 -- time between robberies
  12.  
  13. --[[ GENERAL CONFIG ]]--
  14. policearmoury.config.GIVE_AMMO_IF_GUN_OWNED = true -- whether it should give ammunition if the gun is already owned
  15. policearmoury.config.AMMO_AMOUNT = 40 -- the amount of ammo to give when a player receives ammo
  16. policearmoury.config.AMMO_GUN_PERCENTAGE = 20 -- ammo price: works off % off of the original price for the gun, for example if the gun is 500 and this is set to 10%, the ammo will cost $50
  17.  
  18. --[[ UI CONFIG ]]--
  19. policearmoury.config.BACKGROUND_COLOR = Color( 0, 0, 0 ) -- the background colour of the panel
  20. policearmoury.config.TITLE_COLOUR = Color( 255, 255, 255 ) -- the colour of the title of the panel
  21. policearmoury.config.TAB_COLOUR = Color( 35, 35, 35 ) -- the background colour of each tab
  22. policearmoury.config.CLICKED_TAB_COLOUR = Color( 65, 65, 65 ) -- the background colour of a tab you are clicked on
  23. policearmoury.config.TAB_PANEL_BACKGROUND = Color( 200, 200, 200 ) -- the background of the tab panel
  24. policearmoury.config.TAB_PANEL_BOTTOM_BACKGROUND = Color( 150, 150, 150 ) -- the background of the 'core' of the tab panel
  25. policearmoury.config.WEAPON_BUTTON_BACKGROUND_COLOUR = Color( 255, 255, 255 ) -- the colour of the background of the weapon panel
  26. policearmoury.config.WEAPON_BUTTON_TEXT_COLOUR = Color( 0, 0, 0 ) -- the colour of the text of the weapon panel
  27.  
  28. --[[ JOB CONFIGURATION ]]--
  29. policearmoury.config.POLICE_ARMOURY_JOBS = {
  30.  
  31. --[[ FORMAT BELOW:
  32. {
  33. "Team Name",
  34. {
  35. { "Weapon Name 1", "Weapon Description 1", "weapon_class_1", { TEAM_1, TEAM_2 }, price },
  36. { "Weapon Name 2", "Weapon Description 2", "weapon_class_2", { TEAM_1, TEAM_2 }, price },
  37. -- { "Weapon Name", "Weapon Description", "weapon_class", { TEAM_1, TEAM_2 }, price },
  38. -- Keep adding new lines with the above format if you want more weapons.
  39. },
  40. "icon-directory.png"
  41. },
  42. ]]--
  43.  
  44. {
  45. "Police",
  46. {
  47. { "Glock-17", "Your standard Glock 17 you would find in a police loadout.", "weapon_bms_glock", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 0 },
  48. { ".357 Magnum", "A higher standard police loadout weapon.", "weapon_bms_357", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 0 },
  49. { "MP5", "An automatic submachine gun, preferably used by S.W.A.T.", "weapon_bms_mp5", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 300 },
  50. { "SPAS-12", "Don't even bother with this one.", "weapon_bms_shotgun", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 450 },
  51. { "Grenade", "YEET", "weapon_bms_frag", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 50 },
  52. { "Crossbow", "Old aged sniper rifle.", "weapon_bms_crossbow", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 500 },
  53. { "M4A1", "Cop weapon.", "weapon_m42", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 500 },
  54. -- { "Weapon Name", "Weapon Description", "weapon_class" },
  55. -- Keep adding new lines with the above format if you want more weapons.
  56. },
  57. "icon16/award_star_gold_3.png"
  58. },
  59.  
  60. {
  61. "Rebels",
  62. {
  63. { "Glock-17", "Your standard Glock 17 you would find in a rebel loadout.", "weapon_bms_glock", { TEAM_REBEL, TEAM_THIEF, TEAM_CITIZEN }, 0 },
  64. { ".357 Magnum", "A higher standard rebel loadout weapon.", "weapon_bms_357", { TEAM_REBEL, TEAM_THIEF, TEAM_CITIZEN }, 0 },
  65. { "MP5", "An automatic submachine gun, preferably used by S.W.A.T.", "weapon_bms_mp5", { TEAM_REBEL, TEAM_THIEF }, 300 },
  66. { "SPAS-12", "Don't even bother with this one.", "weapon_bms_shotgun", { TEAM_REBEL, TEAM_THIEF, TEAM_CITIZEN }, 450 },
  67. { "Grenade", "YEET", "weapon_bms_frag", { TEAM_REBEL, TEAM_THIEF }, 50 },
  68. { "Crossbow", "Old aged sniper rifle.", "weapon_bms_crossbow", { TEAM_REBEL, TEAM_THIEF, TEAM_CITIZEN }, 500 },
  69. { "AK-47", "Terrorist weapon.", "weapon_ak472", { TEAM_REBEL, TEAM_THIEF }, 500 },
  70. -- { "Weapon Name", "Weapon Description", "weapon_class" },
  71. -- Keep adding new lines with the above format if you want more weapons.
  72. },
  73. "icon16/user_gray.png"
  74. },
  75.  
  76. {
  77. "Police",
  78. {
  79. { "Glock-17", "Your standard Glock 17 you would find in a police loadout.", "weapon_bms_glock", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 0 },
  80. { ".357 Magnum", "A higher standard police loadout weapon.", "weapon_bms_357", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 0 },
  81. { "MP5", "An automatic submachine gun, preferably used by S.W.A.T.", "weapon_bms_mp5", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 300 },
  82. { "SPAS-12", "Don't even bother with this one.", "weapon_bms_shotgun", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 450 },
  83. { "Grenade", "YEET", "weapon_bms_frag", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 50 },
  84. { "Crossbow", "Old aged sniper rifle.", "weapon_bms_crossbow", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 500 },
  85. { "M4A1", "Cop weapon.", "weapon_m42", { TEAM_SWAT, TEAM_CP, TEAM_CIVILPROTECTION, TEAM_POLICE }, 500 },
  86. -- { "Weapon Name", "Weapon Description", "weapon_class" },
  87. -- Keep adding new lines with the above format if you want more weapons.
  88. },
  89. "icon16/shield.png"
  90. },
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement