Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [[ Addon by Diablos | Version 2 ]] --
- -- [[ SteamID64 of the buyer: 76561198132130492. Hoping you like the addon. ]] --
- -- [[ BEFORE OPENING A TICKET ON GMODSTORE READ THE FAQ AT http://diabloscoder.com/faq/. ]] --
- -- [[ This is the configuration file. ]] --
- -- [[ /!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\ DON'T TOUCH ALL OF THIS /!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\ ]] --
- Diablos = Diablos or {}
- Diablos.RS = {}
- Diablos.RS.Colors = {}
- Diablos.RS.Download = {}
- Diablos.RS.Records = {}
- Diablos.RS.Strings = {}
- -- [[ /!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\ NOW YOU CAN EDIT THE THINGS BELOW /!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\ ]] --
- -- [[ General Configuration ]] --
- Diablos.RS.Language = "french" -- Language of the script. Available languages are written at http://diabloscoder.com/languages.
- Diablos.RS.MPHCounter = false -- true = MPH system / false = KMH system.
- Diablos.RS.Speedometer = true -- true = enable a (very very) basic speedometer (a rounded box with the speed). You must restart the server when you change this value.
- -- [ If Diablos.RS.Speedometer is set on true ] --
- Diablos.RS.SpeedometerPosX = 0.8 -- X pos of the Speedometer. The value must be between 0 and 1, 0 at the left and 1 at the right.
- Diablos.RS.SpeedometerPosY = 0.9 -- Y pos of the Speedometer. The value must be between 0 and 1, 0 at the top and 1 at the bottom.
- -- [[ End of this If ]] --
- Diablos.RS.OwnerOrDriver = true -- true = man who will be caught at an excessive speed will be the OWNER of the vehicle / false = will be the DRIVER of the vehicle.
- Diablos.RS.GovernementVehicles = { -- Classnames of vehicles (which are probably governement ones) which can't be caught at an excessive speed by a speed gun or by a speed camera.
- -- put your vehicles here.
- }
- Diablos.RS.JobVehicles = { -- Jobs which can't be caught at an excessive speed whatsoever the vehicles they are driving.
- "Policier Municipale",
- "Policier Nationale",
- "Commissaire",
- "*WL* Chef RAID",
- "*WL**VIP* Sniper RAID",
- "*WL* Sniper RAID",
- "*WL* Medecin RAID",
- "BAC",
- "*VIP* Militaire",
- "*VIP* Chef Militaire",
- "*VIP* Policier Nationale Corrompu",
- "Pompier Volontaire",
- "WL*Pompier",
- "*WL* Equipier RAID",
- "Docteur",
- "*VIP* Chef Militaire",
- "*WL* Gouverneur de la République",
- "*VIP* BAC"
- }
- Diablos.RS.ARCBank = true -- [ONLY WORKS ON THE PAID VERSION!] true = you use the ARCBank addon (https://www.gmodstore.com/scripts/view/324/) AND you want to make that the money will be taken from the bank account of the man himself if he doesn't have enough money in wallet.
- Diablos.RS.DriverLicense = true -- true = you use the Driver License System addon (https://www.gmodstore.com/scripts/view/3152) AND you want to make that if someone is caught by a radar he will win/loose (depending of country) some points on his license.
- -- [[ If Diablos.RS.DriverLicense is set to true ]] --
- Diablos.RS.DLAmountMoreSpeed = 30 -- Amount of kilometers/miles above the speed limit to add 1 driver point to win/loose. 0 means it's 1 point removed whatsoever the speeding regarding the speed limit.
- -- [[ End of this If ]] --
- Diablos.RS.ShowBestRecords = true --true = by pressing the +USE (E) key in front of a speed camera, you will have a frame showing the best speed records.
- -- [[ If Diablos.RS.DriverLicense is set to true ]] --
- Diablos.RS.BestRecordsTop = 5 -- Amount of records showed. It depends of if you want a top 3, top 5, top 10 or whatsoever.
- -- [[ End of this If ]] --
- Diablos.RS.AutomaticWanted = false -- true = the man who will pay the fine will be wanted too due to his excessive speed.
- -- [[ If Diablos.RS.AutomaticWanted is set to true ]] --
- Diablos.RS.AutomaticWantedReason = "Caught at an excessive speed!" -- Reason text when the player will be in the wanted state due to his excessive speed.
- -- [[ End of this If ]] --
- Diablos.RS.WantedIfNotEnoughMoney = true -- true = the man who will pay the fine will be wanted if he can't pay the entire fine.
- -- [[ If Diablos.RS.AutomaticWanted is set to true ]] --
- Diablos.RS.NotEnoughMoneyWantedReason = "[RADAR] Excès de vitesse, ammende non payé" -- Reason text when the player will be in the wanted state due to the lack of money to pay the entire fine.
- -- [[ End of this If ]] --
- -- [[ Money depending speed settings ]] --
- -- [[ Example usage: You have the value Diablos.RS.MoneyMoreSpeed set to 5 & Diablos.RS.MoneyAdded set to 0.2:
- -- Let's say you are driving at 50MPH while the radar is fixed at 40MPH. The fine price when you are caught by the radar is set at $100.
- -- You are 10MPH above the speed limit, which means it's 2* the value Diablos.RS.MoneyMoreSpeed you set. Since Diablos.RS.MoneyAdded is set to 0.2,
- -- it means that you pay 0.2*fine price = 0.2*100 = $20 more and since you are 2*Diablos.RS.MoneyMoreSpeed above the speed limit, you'll pay 2*20=$40
- -- plus the initial fine price which is $100 so you'll pay $140 total. If you are 15MPH above the speed limit it will be $160 total and so on.
- -- TO-KNOW: if the man caught is at 49MPH he will pay $120; $140 are only when you are at 50MPH or more.
- -- ]]
- Diablos.RS.MoneyMoreSpeed = 0 -- This is the amount of kilometers/miles above the speed limit to add some money (the value Diablos.RS.MoneyToAdd) for the final fine price. 0 to disable.
- Diablos.RS.MoneyToAdd = 0 -- This is the amount of money relative to the fine price which will be added every Diablos.RS.MoneyMoreSpeed MPH/KMH more than the speed limit. 0 to disable.
- -- [[ Speed Gun (SWEP) settings ]] --
- Diablos.RS.SpeedLimit = 90 -- Speed limit in the server. If someone is caught at more than this value, he will have a fine.
- Diablos.RS.FinePrice = 0 -- Price the man who has been caught will automatically pay if he drove too fast.
- Diablos.RS.CopsAbilitySpeedLimit = true -- true = a cop can change the speedlimit of his own speed gun by typing a command. The speedlimit he will set must be between two values configurable below.
- -- [ If Diablos.RS.CopsAbilitySpeedLimit is set to true ] --
- Diablos.RS.CommandCopsSpeedLimit = "/vitesse" -- Text a cop must type inside his chat to change the speedlimit. He must type "<THECOMMAND> <THEVALUE>", "/speed 50" by example.
- Diablos.RS.CopsSpeedLimitMinVal = 30 -- Minimal value: a cop can't put the speed of his own speed gun to below than this value (to avoid shitty non-RP cops).
- Diablos.RS.CopsSpeedLimitMaxVal = 140 -- Maximal value: a cop can't put the speed of his own speed gun to above than this value (to avoid shitty non-RP cops).
- Diablos.RS.CopsMessageSpeedLimit = "Tapes " .. Diablos.RS.CommandCopsSpeedLimit .. " suivis de la limitation de vitesse (entre " .. Diablos.RS.CopsSpeedLimitMinVal .. " et " .. Diablos.RS.CopsSpeedLimitMaxVal .. ") si vous voulez choisir la vitesse de votre propre radar." -- Text which will appear if a cop takes his speedgun. Be careful when you try to modify the string.
- -- [[ End of this If ]] --
- -- [[ Speed Camera (Entity) settings ]] --
- Diablos.RS.ShowSpeedAboveRadar = false -- true = speed limit above all radar entities are shown (kind of help for drivers).
- -- [[ Color Theme Configuration ]] --
- Diablos.RS.Colors.Blurs = true -- true = enable blur effects (around the frames NOT in them).
- Diablos.RS.Colors.Frame = Color(50, 50, 50, 200) -- Color of the frame.
- Diablos.RS.Colors.Panel = Color(100, 100, 100, 40) -- Color of the panels in the frame.
- Diablos.RS.Colors.Header = Color(80, 80, 140, 200) -- Color of the headers.
- Diablos.RS.Colors.VBarGrip = Color(40, 40, 120, 120) -- Color of the vertical bar grip.
- Diablos.RS.Colors.VBarBG = Color(75, 75, 75, 255) -- Color of the vertical bar background.
- Diablos.RS.Colors.Label = Color(220, 220, 220, 220) -- Color of the labels (text in frames).
- Diablos.RS.Colors.LabelHovered = Color(50, 50, 50, 220) -- If it's a button, color of the labels when they are in the "hovered" mode (there is the mouse on the label).
- Diablos.RS.Colors.LabelDown = Color(0, 0, 0, 220) -- If it's a button, color of the labels when they are in the "down" mode (you press left click on the label).
- Diablos.RS.Colors.AboveRadarText = Color(230, 230, 230, 250) -- Color of the 'metric limit' above the radars.
- Diablos.RS.Colors.AboveRadarBorder = Color(50, 50, 50, 200) -- Color of the borders around the 'metric limit' of the radars.
- Diablos.RS.Colors.SpeedometerBG = Color(0, 0, 255, 200) -- Color of the speedometer background.
- Diablos.RS.Colors.SpeedometerText = Color(255, 255, 255, 255) -- Color of the speedometer text.
- -- [[ Content Download Configuration ]] --
- Diablos.RS.Download.FastDL = true -- true = clients install the contents via FastDL.
- Diablos.RS.Download.Workshop = false -- true = clients install the contents via Workshop.
- -- [[ End of the configuration file ]] --
- TPRSAExtensions() -- DO NOT DELETE THIS LINE. This line updates the language strings and some informations of the addon.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement