Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rPrint.RemovePrintersOnDisconnect = true --whether to remove printers on player disconnect
- rPrint.OwnershipTransferEnabled = true --whether to allow users to take ownership of someone else's printer
- rPrint.UpdateDelay = 2 --the time in between updates to the datatable (in seconds)
- rPrint.MaxPrinters = 4 --maximum number of printers a user can own (including those that have had their owner changed)
- rPrint.DefaultPrinterParams = {
- AutoAddToDarkRP = true, --automatically add printers to DarkRP
- Price = 1000, --price of the printer in DarkRP (only if automatically added)
- Color = Color( 255, 255, 255, 255 ), --color of the printer
- SoundEffectVolume = 50, --sound effects volume (between 0 and 100)
- TempMin = 28, --minimum temperature (won't go below this)
- TempMax = 80, --maximum temperature (will explode or shut down at this temperature)
- TempStart = 30, --starting temperature
- PrintRate = 4, --printing rate (in money per second) ($/s)
- HeatRate = 1 / 15, --heat rate (in degrees per money printed) (*/$)
- CoolRate = 1 / 10, --cool rate (in degrees per second) (*/s)
- CoolerCost = 40, --cooler cost
- CoolerCoolRate = 3 / 2, --cooler cooling rate (in degrees per second) (*/s)
- CoolerBreakEnabled = true, --should the cooler sometimes break
- CoolerBreakInterval = { --the time interval between the coolers breaking (in seconds, randomized) (s)
- 6 * 60, --minimum amount of seconds between breaks
- 10 * 60 --maximum amount of seconds between breaks
- },
- PowerConsumptionRate = 1 / 20, --power consumption rate (in percent power per money printed) (%/$)
- PowerConsumptionRateCooler = 1 / 12, --power consumption rate for the cooler (in percent per second) (%/s)
- RechargeCost = 10, --cost to recharge
- RechargeMax = 20, --the value at which the recharge button becomes pressable
- FadeDistance = 125, --maximum distance that the printers render the GUI
- UseDistance = 100, --maximum distance a player can use the buttons
- AlertOwnerOnDestroyed = true, --alert the owner when someone blows up their printer
- AlertOwnerOnOverheated = true, --alert the owner when the printer overheats and blows up
- PrinterHealth = 100, --printer health (resistance to damage)
- ExplodeOnOverheat = true, --explode when the printer overheats
- CanBeDestroyed = true, --can the printers be broken
- DestroyPayout = 25, --amount paid to the person who destroyed the printer
- DestroyPayoutTeamsExclusive = true, --whether to exclude or include the teams below in the payout
- DestroyPayoutTeams = { --teams which can receive money from destroying a printer; also supports team names as strings
- TEAM_POLICE,
- TEAM_CHIEF
- }
- }
- --[[ Examples:
- --Printer with all default settings
- rPrint.RegisterPrinterType( "Default", {} )
- --Printer with default settings, except it uses less power
- rPrint.RegisterPrinterType( "Eco", {
- Price = 1500,
- PowerConsumptionRate = 1 / 35,
- PowerConsumptionRateCooler = 1 / 25
- } )
- --Special VIP printer, you'll want to change this depending on the teams/user groups that you want to have access
- --In this example, it is available to users who are both TEAM_CITIZEN or TEAM_AOD, and of the user group "vip"
- rPrint.RegisterPrinterType( "VIP", {
- Price = 5000,
- AllowedTeams = { TEAM_CITIZEN, TEAM_AOD }, --make it so only citizens and AODs can buy the printer
- AllowedUserGroups = { "vip" }, --lock to user group vip
- SpawnCommand = "/buyvipprinter", --custom spawn commands are also supported
- PrintRate = 10, --$6,000 per minute!
- HeatRate = 1 / 100, --heats up very slowly
- CoolRate = 1 / 2, --cool down pretty fast, you shouldn't even need a cooler for this one
- CoolerCoolRate = 5, --super cooler for the hell of it
- CoolerBreakEnabled = false, --cooler never breaks
- PowerConsumptionRate = 1 / 500, --very efficient
- PowerConsumptionRateCooler = 1 / 300, --cooler is also very efficient
- PrinterHealth = 1000, --super strong
- ExplodeOnOverheat = false, --don't blow up
- DestroyPayout = 5000 --Police jackpot!
- }, "rprint_vipprinter" ) --give it the entity name "rprint_vipprinter" (this is optional, see README for default names)
- ]]
- rPrint.RegisterPrinterType( "Harp", {
- Price = 1440,
- PrintRate = 4,
- DestroyPayout = 1000,
- Color = Color( 221, 226, 57, 255 ),
- RechargeCost = 288,
- CoolerCost = 360
- } )
- rPrint.RegisterPrinterType( "Megaprem Inc.", {
- Price = 2160,
- PrintRate = 6,
- DestroyPayout = 2000,
- Color = Color( 116, 190, 109, 255 ),
- RechargeCost = 432,
- CoolerCost = 540
- } )
- rPrint.RegisterPrinterType( "SaturnCo.", {
- Price = 3600,
- PrintRate = 10,
- DestroyPayout = 3000,
- Color = Color( 202, 100, 69, 255 ),
- RechargeCost = 720,
- CoolerCost = 900
- } )
- rPrint.RegisterPrinterType( "Raze Industries", {
- Price = 5760,
- PrintRate = 16,
- DestroyPayout = 5000,
- Color = Color( 150, 83, 155, 255 ),
- RechargeCost = 1152,
- CoolerCost = 1440
- } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement