Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plyMeta = FindMetaTable("Player")
- Prc = {}
- --[[
- Printers Revision: beta release
- ================================================================================================================================================================
- Prc.isVIP = {"superadmin", "admin", "vip"} // want more groups? add a coma and the usergroup, for example "vip", "goldvip", "premiumvip"
- General Configuration:
- Prc.Configurations = ( default: true, set false to disable improvements for the printers )
- Prc.VIPPrinters = ( default: true, set false to remove the VIP Money Printers from the TAB Menu)
- Prc.Borders = ( default: true, set false to remove printers borders )
- Prc.Glow = ( default: true, set false to remove glow effect while printing )
- Prc.Sparks = ( default: true, set false to remove sparks effect while printing )
- Prc.EnableNotification = ( default: true, set false to remove the message when you pickup the money from the printer )
- Prc.Notification = ( Notification before the "money amount" Ex: You've collected $(MoneyAmount) Notification2 )
- Prc.Notification2 = ( Notification after the "money amount" Ex: $(MoneyAmount) ! ( the ! is the notification2 )
- Prc.WaterDestroy = ( default: true, set false to avoid printers being destroyed by the water )
- Prc.EnableCPNotification = ( default: true, set false to remove the notification when the police destroy your printer )
- Prc.OwnerNotification = ( notification message for the owner, when the cops found the printer )
- Prc.CPMessage = ( If a cop try to get income of destroying their own entities a message will pop-up.)
- Prc.Collisions = ( IF True the printer will NO-COLLIDE with Players, IF False the printer will collide with Players )
- Prc.StealingSystem = Notify you if someone is stealing your printer
- Prc.StealingSystemShowIcon = Show the icons at the printer?
- Prc.SilencerShowIcon = Show the icons at the printer?
- Prc.SecurityIcon = Material("icon16/shield.png")
- Prc.SilencerIcon = Material("icon16/sound_mute.png")
- Prc.RocketMania = If you're using Rocket F4 you should turn this true ( if you are using the VIP Printers )
- Prc.StealingSystemMsg = The message for the user that is taking away your money
- Prc.Sound = Configure the Printing sound
- Prc.LevelSystem = false -- Set true if you want to give EXP, remember to configure the experience for each printer.
- Prc.LevelStatic = false -- Set it to true to give an static value, configurable at each printer, otherwise you will get a % of the money as exp.
- Prc.LevelPercent = 10 -- 10% of the printer money as experience if your printer have 100 money inside when you retrieve you will get 10 experience. Depending of the value you set, to make this work you must have Prc.LevelStatic disabled.
- Printer Upgrades Configuration:
- Prc.Timer = (Prc.PrintInitialValue / Prc.Timer , Prc.PrintSecondValue / Prc.Timer ) - Time Upgrade ( Decrease the amount of time )
- Prc.Amount = ( Prc.PrintAmount * Prc.Amount ) ( Don't put HIGH Values Here ) - Amount Upgrade
- Prc.Armor = 2
- Prc.ArmorMaterial = "phoenix_storms/metalset_1-2"
- Prc.ArmorMateriale = true
- Printers Configurations:
- ------------------------ F4 Customization
- Prc.PrinterEnable = true
- Prc.PrinterPrice = 1000
- Prc.PrinterMax = 2
- ------------------------ Printers Customziations
- Prc.PrinterPrice = ( Prite shown at F4 Menu Entities Tab )
- Prc.PrinterMax = ( Max amount of printers that you can OWN )
- Prc.F4Name = ( Printer Name at F4 Tab )
- Prc.PrinterName = ( Here you can set the money printer name )
- Prc.PrintAmount = ( Amount of money that the printers print )
- Prc.PrinterHealth = ( Set the health of the printer )
- Prc.PrinterModel = ( Model that you want to use with the money printer, default: )
- Prc.PrinterColor = ( Printer's Color )
- Prc.PrinterGlow = ( Printer's Printing Glow Color - required Prc.Glow = true )
- Prc.PrintInitialTime = ( Printers Initial Time , How much time takes to print the first time )
- Prc.PrintInitialValue = ( This is the first value of the math.random(This One, Second One), Less time to print money )
- Prc.PrintSecondValue = ( This is the second value of the math.random(First One, This One), Max time to print money )
- Prc.PrinterOverHeat = t( default: true, set false to avoid printers overheat ( explote because of overheating ) )
- Prc.PrinterOverHeatChance = ( Higher value, less probability of overheat. )
- Prc.PrinterCopsRemoval = ( default:false / set true so When a cop click "e" in the printer, the cop receive a good amount of money, and the printer dissapear )
- Prc.PrinterCopsRemovalGift = ( How much money receive the cop for destroying the money printer )
- ================================================================================================================================================================
- ]]
- -- This function will add the VIP printers to this groups only.
- Prc.isVIP = {"superadmin", "vip+"} // want more groups? add a coma and the usergroup, for example "vip", "goldvip", "premiumvip"
- -- General Configuration ( Affect all the printers ):
- --------------------------------------------------------------------
- Prc.StealingSystem = true
- Prc.StealingSystemShowIcon = true
- Prc.SilencerShowIcon = true
- Prc.SecurityIcon = Material("icon16/shield.png")
- Prc.SilencerIcon = Material("icon16/sound_mute.png")
- Prc.RocketMania = false
- Prc.StealingSystemMsg = "Someone is stealing your money"
- Prc.Sound = "ambient/levels/labs/equipment_printer_loop1.wav"
- Prc.Configurations = true
- Prc.VIPPrinters = true
- Prc.Borders = true
- Prc.Glow = true
- Prc.Sparks = true
- Prc.EnableNotification = true
- Prc.Notification = ("You've collected $")
- Prc.Notification2 = ("!")
- Prc.WaterDestroy = true
- Prc.EnableCPNotification = true
- Prc.OwnerNotification = ("Your Printer has been found, be careful")
- Prc.CPMessage = ("Your printer has been removed without reward.")
- Prc.Collisions = true
- --------------------------------------------------------------------
- -- Level System By Vrondakis
- --------------------------------------------------------------------
- Prc.LevelSystem = false -- Set true if you want to give EXP, remember to configure the experience for each printer. Example Printer 1 Config: Prc.PrinterExp = 250
- Prc.LevelStatic = false -- Set it to true to give an static value, configurable at each printer, otherwise you will get a % of the money as exp.
- Prc.LevelPercent = 10 -- 10% of the printer money as experience if your printer have 100 money inside when you retrieve you will get 10 experience. Depending of the value you set, to make this work you must have Prc.LevelStatic disabled.
- --------------------------------------------------------------------
- -- Printer Upgrades Configuration ( Affect all the printers ):
- --------------------------------------------------------------------
- Prc.Timer = 1.2
- Prc.Amount = 1.5
- Prc.OverHeat = 10 // If you raise this value, the chance of overheating will be less, lets say the normal chance is 1 in 10, if you put this value to 10 the chance will be 1 in 100. its: ( PrinterOverHeatChance * Prc.OverHeat )
- Prc.Armor = 2 -- ( Damage / 2 )
- Prc.ArmorMaterial = "phoenix_storms/metalset_1-2"
- Prc.ArmorMateriale = true
- --------------------------------------------------------------------
- -- Printer 1:
- --------------------------------------------------------
- Prc.PrinterEnable = true
- Prc.PrinterPrice = 4000
- Prc.PrinterMax = 2
- --------------------------------------------------------
- Prc.PrinterName = "Money Printer"
- Prc.PrintAmount = 200
- Prc.PrinterExp = 250
- Prc.PrinterHealth = 100
- Prc.PrinterModel = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor = Color(63,127,127,255)
- Prc.PrinterGlow = Color(63,127,127,255)
- Prc.PrintInitialTime = 60
- Prc.PrintInitialValue = 60
- Prc.PrintSecondValue = 180
- Prc.PrinterOverHeat = true
- Prc.PrinterOverHeatChance = 100
- Prc.PrinterCopsRemoval = true
- Prc.PrinterCopsRemovalGift = 200
- --------------------------------------------------------
- -- Printer 2:
- --------------------------------------------------------
- Prc.PrinterEnable2 = true
- Prc.PrinterPrice2 = 8000
- Prc.PrinterMax2 = 2
- --------------------------------------------------------
- Prc.PrinterName2 = "Bronze Money Printer"
- Prc.PrintAmount2 = 350
- Prc.PrinterExp2 = 350
- Prc.PrinterHealth2 = 100
- Prc.PrinterModel2 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor2 = Color(110,57,8,255)
- Prc.PrinterGlow2 = Color(110,57,8,255)
- Prc.PrintInitialTime2 = 55
- Prc.PrintInitialValue2 = 55
- Prc.PrintSecondValue2 = 170
- Prc.PrinterOverHeat2 = true
- Prc.PrinterOverHeatChance2 = 90
- Prc.PrinterCopsRemoval2 = false
- Prc.PrinterCopsRemovalGift2 = 300
- --------------------------------------------------------
- -- Printer 3:
- --------------------------------------------------------
- Prc.PrinterEnable3 = true
- Prc.PrinterPrice3 = 17500
- Prc.PrinterMax3 = 1
- --------------------------------------------------------
- Prc.PrinterName3 = "Silver Money Printer"
- Prc.PrintAmount3 = 550
- Prc.PrinterExp3 = 450
- Prc.PrinterHealth3 = 100
- Prc.PrinterModel3 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor3 = Color(160,160,160,255)
- Prc.PrinterGlow3 = Color(160,160,160,255)
- Prc.PrintInitialTime3 = 50
- Prc.PrintInitialValue3 = 50
- Prc.PrintSecondValue3 = 160
- Prc.PrinterOverHeat3 = true
- Prc.PrinterOverHeatChance3 = 80
- Prc.PrinterCopsRemoval3 = false
- Prc.PrinterCopsRemovalGift3 = 400
- --------------------------------------------------------
- -- Printer 4:
- --------------------------------------------------------
- Prc.PrinterEnable4 = true
- Prc.PrinterPrice4 = 30000
- Prc.PrinterMax4 = 1
- --------------------------------------------------------
- Prc.PrinterName4 = "Gold Money Printer"
- Prc.PrintAmount4 = 800
- Prc.PrinterExp4 = 550
- Prc.PrinterHealth4 = 100
- Prc.PrinterModel4 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor4 = Color(200,151,15,255)
- Prc.PrinterGlow4 = Color(160,160,160,255)
- Prc.PrintInitialTime4 = 45
- Prc.PrintInitialValue4 = 45
- Prc.PrintSecondValue4 = 150
- Prc.PrinterOverHeat4 = true
- Prc.PrinterOverHeatChance4 = 70
- Prc.PrinterCopsRemoval4 = false
- Prc.PrinterCopsRemovalGift4 = 500
- --------------------------------------------------------
- -- Printer 5:
- --------------------------------------------------------
- Prc.PrinterEnable5 = true
- Prc.PrinterPrice5 = 50000
- Prc.PrinterMax5 = 1
- --------------------------------------------------------
- Prc.PrinterName5 = "Diamond Money Printer"
- Prc.PrintAmount5 = 1250
- Prc.PrinterExp5 = 650
- Prc.PrinterHealth5 = 100
- Prc.PrinterModel5 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor5 = Color(127,255,255,255)
- Prc.PrinterGlow5 = Color(127,255,255,255)
- Prc.PrintInitialTime5 = 40
- Prc.PrintInitialValue5 = 40
- Prc.PrintSecondValue5 = 140
- Prc.PrinterOverHeat5 = true
- Prc.PrinterOverHeatChance5 = 60
- Prc.PrinterCopsRemoval5 = true
- Prc.PrinterCopsRemovalGift5 = 600
- --------------------------------------------------------
- -- Printer 6:
- --------------------------------------------------------
- Prc.PrinterEnable6 = true
- Prc.PrinterPrice6 = 75000
- Prc.PrinterMax6 = 1
- --------------------------------------------------------
- Prc.PrinterName6 = "Graphene Money Printer"
- Prc.PrintAmount6 = 2000
- Prc.PrinterExp6 = 750
- Prc.PrinterHealth6 = 100
- Prc.PrinterModel6 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor6 = Color(32,32,32,255)
- Prc.PrinterGlow6 = Color(255,0,0,255)
- Prc.PrintInitialTime6 = 35
- Prc.PrintInitialValue6 = 35
- Prc.PrintSecondValue6 = 130
- Prc.PrinterOverHeat6 = true
- Prc.PrinterOverHeatChance6 = 50
- Prc.PrinterCopsRemoval6 = true
- Prc.PrinterCopsRemovalGift6 = 700
- --------------------------------------------------------
- -- VIP Money Printer 1:
- --------------------------------------------------------
- Prc.PrinterEnable7 = true
- Prc.PrinterPrice7 = 80000
- Prc.PrinterMax7 = 1
- --------------------------------------------------------
- Prc.PrinterName7 = "VIP+ Money Printer"
- Prc.PrintAmount7 = 3000
- Prc.PrinterExp7 = 750
- Prc.PrinterHealth7 = 100
- Prc.PrinterModel7 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor7 = Color(32,32,32,255)
- Prc.PrinterGlow7 = Color(255,0,0,255)
- Prc.PrintInitialTime7 = 30
- Prc.PrintInitialValue7 = 30
- Prc.PrintSecondValue7 = 120
- Prc.PrinterOverHeat7 = true
- Prc.PrinterOverHeatChance7 = 40
- Prc.PrinterCopsRemoval7 = true
- Prc.PrinterCopsRemovalGift7 = 800
- --------------------------------------------------------
- -- VIP Money Printer 2:
- --------------------------------------------------------
- Prc.PrinterEnable8 = true
- Prc.PrinterPrice8 = 100000
- Prc.PrinterMax8 = 1
- --------------------------------------------------------
- Prc.PrinterName8 = "Bronze VIP+ Money Printer"
- Prc.PrintAmount8 = 3389
- Prc.PrinterExp8 = 750
- Prc.PrinterHealth8 = 100
- Prc.PrinterModel8 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor8 = Color(110,57,8,255)
- Prc.PrinterGlow8 = Color(110,57,8,255)
- Prc.PrintInitialTime8 = 25
- Prc.PrintInitialValue8 = 25
- Prc.PrintSecondValue8 = 110
- Prc.PrinterOverHeat8 = true
- Prc.PrinterOverHeatChance8 = 30
- Prc.PrinterCopsRemoval8 = true
- Prc.PrinterCopsRemovalGift8 = 900
- --------------------------------------------------------
- -- VIP Money Printer 3:
- --------------------------------------------------------
- Prc.PrinterEnable9 = true
- Prc.PrinterPrice9 = 160000
- Prc.PrinterMax9 = 1
- --------------------------------------------------------
- Prc.PrinterName9 = "Silver VIP+ Money Printer"
- Prc.PrintAmount9 = 4150
- Prc.PrinterExp9 = 750
- Prc.PrinterHealth9 = 100
- Prc.PrinterModel9 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor9 = Color(160,160,160,255)
- Prc.PrinterGlow9 = Color(160,160,160,255)
- Prc.PrintInitialTime9 = 20
- Prc.PrintInitialValue9 = 20
- Prc.PrintSecondValue9 = 100
- Prc.PrinterOverHeat9 = true
- Prc.PrinterOverHeatChance9 = 20
- Prc.PrinterCopsRemoval9 = true
- Prc.PrinterCopsRemovalGift9 = 1000
- --------------------------------------------------------
- -- VIP Money Printer 4:
- --------------------------------------------------------
- Prc.PrinterEnable10 = true
- Prc.PrinterPrice10 = 300000
- Prc.PrinterMax10 = 1
- --------------------------------------------------------
- Prc.PrinterName10 = "Golden MEGAVIP+ Money Printer"
- Prc.PrintAmount10 = 6250
- Prc.PrinterExp10 = 750
- Prc.PrinterHealth10 = 100
- Prc.PrinterModel10 = "models/props_c17/consolebox01a.mdl"
- Prc.PrinterColor10 = Color(200,151,15,255)
- Prc.PrinterGlow10 = Color(160,160,160,255)
- Prc.PrintInitialTime10 = 15
- Prc.PrintInitialValue10 = 15
- Prc.PrintSecondValue10 = 90
- Prc.PrinterOverHeat10 = true
- Prc.PrinterOverHeatChance10 = 20
- Prc.PrinterCopsRemoval10 = true
- Prc.PrinterCopsRemovalGift10 = 2000
- --------------------------------------------------------
- -- VIP Members Configurations ( DO NOT TOUCH THIS )
- -- ==========================
- function plyMeta:isVIPMember()
- local groups = self:GetNWString("usergroup")
- groups = string.lower(groups)
- if not IsValid(self) then return false end
- return table.HasValue(Prc.isVIP,groups)
- end
- -- ==============================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement