Advertisement
Lukyspore

sh_config.lua

Oct 23rd, 2023 (edited)
925
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.18 KB | Gaming | 0 0
  1. LDT_Achievements = LDT_Achievements or {}
  2. LDT_Achievements.Config = LDT_Achievements.Config or {}
  3.  
  4. LDT_Achievements.Config.Language = "en" -- Currently there are en, pl, tr and de translations available.
  5.  
  6. LDT_Achievements.Config.EnablePremadeDarkRPAchievements = true -- This enables or disables the premade DarkRP achievements.
  7. LDT_Achievements.Config.EnablePremadeTTTAchievements = false -- This enables or disables the premade TTT achievements.
  8. LDT_Achievements.Config.EnablePremadeGeneralAchievements = true -- This enables or disables the premade General achievements.
  9.  
  10. LDT_Achievements.Config.MenuCommand = "!ach" -- This is the command to open the menu.
  11.  
  12. LDT_Achievements.Config.AreRewardsEnabled = true -- This enables or disables the rewards.
  13. LDT_Achievements.Config.RewardFramework = "DarkRP" -- This is the reward framework. You can choose between DarkRP PS1, PS2, ZPN and Custom.
  14. LDT_Achievements.Config.CurrencySymbol = " $" -- This is the name of the currency. This only works when using the PS1, PS2 or ZPN reward framework.
  15. LDT_Achievements.Config.CurrencySymbolLocation = true -- This is the location of the currency symbol. True = Before the amount, false = After the amount.
  16. LDT_Achievements.Config.ZPNMultiplier = 1 -- This is the multiplier for the ZPN currency. This changes the amount of ZPN you get from voting.
  17.  
  18. LDT_Achievements.Config.CustomRewardFunction = function(ply) -- This is a custom reward function. This is called when the reward framework is set to "Custom".
  19.     ply:addMoney(LDT_Achievements.Config.RewardAmount)
  20. end
  21.  
  22. -- If you want to add custom achievements and achievement categories.
  23. -- You can find instructions in /shared/sh_custom_categories.lua
  24. -- Or in /shared/sh_custom_achievements.lua
  25.  
  26. -- These are the colors for every element of the UI. Feel free to change them to your liking.
  27. LDT_Achievements.Config.Red = Color(255, 63, 5)
  28. LDT_Achievements.Config.White = Color(255,255,255)
  29. LDT_Achievements.Config.WhiteHighlight = Color(200,200,200,255)
  30. LDT_Achievements.Config.Grey = Color(47, 54, 64)
  31. LDT_Achievements.Config.GreySecond = Color(53, 59, 72)
  32. LDT_Achievements.Config.GreyThird = Color(53, 59, 72,100)
  33. LDT_Achievements.Config.Blue = Color(0, 151, 230)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement