Guest User

Untitled

a guest
Sep 25th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1.  
  2. rPrint.RemovePrintersOnDisconnect = true --whether to remove printers on player disconnect
  3. rPrint.OwnershipTransferEnabled = true --whether to allow users to take ownership of someone else's printer
  4. rPrint.UpdateDelay = 2 --the time in between updates to the datatable (in seconds)
  5. rPrint.MaxPrinters = 4 --maximum number of printers a user can own (including those that have had their owner changed)
  6.  
  7. rPrint.DefaultPrinterParams = {
  8. AutoAddToDarkRP = true, --automatically add printers to DarkRP
  9. Price = 1000, --price of the printer in DarkRP (only if automatically added)
  10.  
  11. Color = Color( 255, 255, 255, 255 ), --color of the printer
  12. SoundEffectVolume = 50, --sound effects volume (between 0 and 100)
  13.  
  14. TempMin = 28, --minimum temperature (won't go below this)
  15. TempMax = 80, --maximum temperature (will explode or shut down at this temperature)
  16. TempStart = 30, --starting temperature
  17.  
  18. PrintRate = 4, --printing rate (in money per second) ($/s)
  19. HeatRate = 1 / 15, --heat rate (in degrees per money printed) (*/$)
  20. CoolRate = 1 / 10, --cool rate (in degrees per second) (*/s)
  21.  
  22. CoolerCost = 40, --cooler cost
  23. CoolerCoolRate = 3 / 2, --cooler cooling rate (in degrees per second) (*/s)
  24. CoolerBreakEnabled = true, --should the cooler sometimes break
  25. CoolerBreakInterval = { --the time interval between the coolers breaking (in seconds, randomized) (s)
  26. 6 * 60, --minimum amount of seconds between breaks
  27. 10 * 60 --maximum amount of seconds between breaks
  28. },
  29.  
  30. PowerConsumptionRate = 1 / 20, --power consumption rate (in percent power per money printed) (%/$)
  31. PowerConsumptionRateCooler = 1 / 12, --power consumption rate for the cooler (in percent per second) (%/s)
  32.  
  33. RechargeCost = 10, --cost to recharge
  34. RechargeMax = 20, --the value at which the recharge button becomes pressable
  35.  
  36. FadeDistance = 125, --maximum distance that the printers render the GUI
  37. UseDistance = 100, --maximum distance a player can use the buttons
  38.  
  39. AlertOwnerOnDestroyed = true, --alert the owner when someone blows up their printer
  40. AlertOwnerOnOverheated = true, --alert the owner when the printer overheats and blows up
  41.  
  42. PrinterHealth = 100, --printer health (resistance to damage)
  43. ExplodeOnOverheat = true, --explode when the printer overheats
  44.  
  45. CanBeDestroyed = true, --can the printers be broken
  46. DestroyPayout = 25, --amount paid to the person who destroyed the printer
  47. DestroyPayoutTeamsExclusive = false, --whether to exclude or include the teams below in the payout
  48. DestroyPayoutTeams = { --teams which can receive money from destroying a printer; also supports team names as strings
  49. TEAM_POLICE,
  50. TEAM_CHIEF
  51. }
  52. }
  53.  
  54.  
  55. --[[ Examples:
  56.  
  57. --Printer with all default settings
  58. rPrint.RegisterPrinterType( "Default", {} )
  59.  
  60.  
  61. --Printer with default settings, except it uses less power
  62. rPrint.RegisterPrinterType( "Eco", {
  63. Price = 1500,
  64.  
  65. PowerConsumptionRate = 1 / 35,
  66. PowerConsumptionRateCooler = 1 / 25
  67. } )
  68.  
  69.  
  70. --Special VIP printer, you'll want to change this depending on the teams/user groups that you want to have access
  71. --In this example, it is available to users who are both TEAM_CITIZEN or TEAM_AOD, and of the user group "vip"
  72. rPrint.RegisterPrinterType( "VIP", {
  73. Price = 5000,
  74. AllowedTeams = { TEAM_CITIZEN, TEAM_AOD }, --make it so only citizens and AODs can buy the printer
  75. AllowedUserGroups = { "vip" }, --lock to user group vip
  76. SpawnCommand = "/buyvipprinter", --custom spawn commands are also supported
  77.  
  78. PrintRate = 10, --$6,000 per minute!
  79.  
  80. HeatRate = 1 / 100, --heats up very slowly
  81. CoolRate = 1 / 2, --cool down pretty fast, you shouldn't even need a cooler for this one
  82. CoolerCoolRate = 5, --super cooler for the hell of it
  83. CoolerBreakEnabled = false, --cooler never breaks
  84.  
  85. PowerConsumptionRate = 1 / 500, --very efficient
  86. PowerConsumptionRateCooler = 1 / 300, --cooler is also very efficient
  87.  
  88. PrinterHealth = 1000, --super strong
  89. ExplodeOnOverheat = false, --don't blow up
  90. DestroyPayout = 5000 --Police jackpot!
  91. }, "rprint_vipprinter" ) --give it the entity name "rprint_vipprinter" (this is optional, see README for default names)
  92.  
  93. ]]
  94.  
  95.  
  96. rPrint.RegisterPrinterType("Bronze", {
  97. Price = 2500,
  98.  
  99. PrintRate = 2,
  100. DestroyPayout = 250,
  101. Color = Color( 205, 135, 65, 255 ),
  102. RechargeCost = 200,
  103. CoolerCost = 300
  104. } )
  105.  
  106. rPrint.RegisterPrinterType("Silver", {
  107. Price = 5000,
  108.  
  109. PrintRate = 5,
  110. DestroyPayout = 500,
  111. Color = Color( 150, 150, 150, 255 ),
  112. RechargeCost = 300,
  113. CoolerCost = 500
  114. } )
  115.  
  116. rPrint.RegisterPrinterType("Gold", {
  117. Price = 10000,
  118.  
  119. PrintRate = 10,
  120. DestroyPayout = 750,
  121. Color = Color( 255, 255, 135, 255 ),
  122. RechargeCost = 500,
  123. CoolerCost = 1000
  124. } )
Add Comment
Please, Sign In to add comment