Advertisement
Guest User

Untitled

a guest
Aug 12th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.04 KB | None | 0 0
  1. -- These are the default settings. Don't mind changing these.
  2. FPP = FPP or {}
  3.  
  4. -- Don't reset the settings when they're already there
  5. if FPP.Settings then
  6.     return
  7. end
  8.  
  9. FPP.Settings = {}
  10. FPP.Settings.FPP_PHYSGUN1 = {
  11.     toggle = 1,
  12.     adminall = 1,
  13.     worldprops = 0,
  14.     adminworldprops = 1,
  15.     canblocked = 0,
  16.     admincanblocked = 0,
  17.     shownocross = 1,
  18.     checkconstrained = 1,
  19.     reloadprotection = 1,
  20.     iswhitelist = 0}
  21. FPP.Settings.FPP_GRAVGUN1 = {
  22.     toggle = 1,
  23.     adminall = 1,
  24.     worldprops = 1,
  25.     adminworldprops = 1,
  26.     canblocked = 0,
  27.     admincanblocked = 0,
  28.     shownocross = 1,
  29.     checkconstrained = 1,
  30.     noshooting = 1,
  31.     iswhitelist = 0}
  32. FPP.Settings.FPP_TOOLGUN1 = {
  33.     toggle = 1,
  34.     adminall = 1,
  35.     worldprops = 1,
  36.     adminworldprops = 1,
  37.     canblocked = 0,
  38.     admincanblocked = 0,
  39.     shownocross = 1,
  40.     checkconstrained = 1,
  41.     iswhitelist = 0,
  42.  
  43.     duplicatorprotect = 1,
  44.     duplicatenoweapons = 1,
  45.     spawniswhitelist = 0,
  46.     spawnadmincanweapon = 0,
  47.     spawnadmincanblocked = 0}
  48. FPP.Settings.FPP_PLAYERUSE1 = {
  49.     toggle = 0,
  50.     adminall = 1,
  51.     worldprops = 1,
  52.     adminworldprops = 1,
  53.     canblocked = 0,
  54.     admincanblocked = 1,
  55.     shownocross = 1,
  56.     checkconstrained = 0,
  57.     iswhitelist = 0}
  58. FPP.Settings.FPP_ENTITYDAMAGE1 = {
  59.     toggle = 1,
  60.     protectpropdamage = 1,
  61.     adminall = 1,
  62.     worldprops = 1,
  63.     adminworldprops = 1,
  64.     canblocked = 0,
  65.     admincanblocked = 0,
  66.     shownocross = 1,
  67.     checkconstrained = 0,
  68.     iswhitelist = 0}
  69. FPP.Settings.FPP_GLOBALSETTINGS1 = {
  70.     cleanupdisconnected = 1,
  71.     cleanupdisconnectedtime = 120,
  72.     cleanupadmin = 1,
  73.     antispeedhack = 0,
  74.     antie2minge = 1}
  75. FPP.Settings.FPP_ANTISPAM1 = {
  76.     toggle = 1,
  77.     antispawninprop = 0,
  78.     bigpropsize = 5.85,
  79.     bigpropwait = 1.5,
  80.     smallpropdowngradecount = 3,
  81.     smallpropghostlimit = 2,
  82.     smallpropdenylimit = 6,
  83.     duplicatorlimit = 3
  84. }
  85. FPP.Settings.FPP_BLOCKMODELSETTINGS1 = {
  86.     toggle = 1,
  87.     iswhitelist = 0
  88. }
  89.  
  90.  
  91. for Protection, Settings in pairs(FPP.Settings) do
  92.     for Option, value in pairs(Settings) do
  93.         CreateConVar("_"..Protection.."_"..Option, value, {FCVAR_REPLICATED, FCVAR_SERVER_CAN_EXECUTE})
  94.     end
  95. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement