Advertisement
Guest User

Untitled

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