Advertisement
Guest User

DarkRP Gemstone Printers by KoZ for DarkRP 2.5

a guest
Dec 10th, 2013
9,913
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.62 KB | None | 0 0
  1. Workshop Gemstone Printers created by KoZ
  2. Steam: http://steamcommunity.com/id/drunkenkoz
  3. Github: https://github.com/dkoz/gsprinters/tree/beta
  4.  
  5. How to install:
  6.  
  7. Note: You can grab the DarkRP modification addon from https://github.com/FPtje/darkrpmodification
  8. Please remember these are only for DarkRP 2.5
  9.  
  10. 1) Open your darkrpmodification addon and navigate to lua/darkrp_customthings and add the following code to the entities.lua.
  11.  
  12. DarkRP.createEntity("Topaz Printer", {
  13.     ent = "topaz_money_printer",
  14.     model = "models/props_c17/consolebox01a.mdl",
  15.     price = 1000,
  16.     max = 2,
  17.     cmd = "buytopazprinter"
  18. })
  19.  
  20. DarkRP.createEntity("Amethyst Printer", {
  21.     ent = "amethyst_money_printer",
  22.     model = "models/props_c17/consolebox01a.mdl",
  23.     price = 1500,
  24.     max = 2,
  25.     cmd = "buyamethystprinter"
  26. })
  27.  
  28. DarkRP.createEntity("Emerald Printer", {
  29.     ent = "emerald_money_printer",
  30.     model = "models/props_c17/consolebox01a.mdl",
  31.     price = 2500,
  32.     max = 2,
  33.     cmd = "buyemeraldprinter"
  34. })
  35.  
  36. DarkRP.createEntity("Ruby Printer", {
  37.     ent = "ruby_money_printer",
  38.     model = "models/props_c17/consolebox01a.mdl",
  39.     price = 5000,
  40.     max = 2,
  41.     cmd = "buyrubyprinter"
  42. })
  43.  
  44. DarkRP.createEntity("Sapphire Printer", {
  45.     ent = "sapphire_money_printer",
  46.     model = "models/props_c17/consolebox01a.mdl",
  47.     price = 7500,
  48.     max = 2,
  49.     cmd = "buysapphireprinter"
  50. })
  51.  
  52. 2) Open your darkrpmodification addon and navigate to lua/darkrp_config and add the following code to the settings.lua.
  53.  
  54. GM.Config.topazprintamount = 10
  55. GM.Config.amethystprintamount = 15
  56. GM.Config.emeraldprintamount = 25
  57. GM.Config.rubyprintamount = 50
  58. GM.Config.sapphireprintamount = 75
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement