Advertisement
Guest User

Untitled

a guest
May 30th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. maphl2config = {}
  2. function GetConfig()
  3. if not maphl2config[game.GetMap()] then return print("NO MAP CONFIG!! SET IT IN MAPCONFIGS.LUA") end
  4. local c = maphl2config[game.GetMap()]
  5. return c
  6.  
  7.  
  8. end
  9.  
  10. maphl2config["rp_city45_2013"] = {
  11. Spawn1=Vector(-2518.828369, 2044.253418, 467.387451),
  12. Spawn2=Vector(-1718.954590, 3028.245605, 911.715698),
  13. JailExit=Vector(-1626.041138, 2703.455078, 629.551941),
  14. Broadcast=Vector(1979.948853, 596.333252, 2943.031250),
  15. RationPos=Vector(),
  16. RemoveArmor=true,
  17. RemovePhysProps=false,
  18. RationDispPos = Vector(384.486603, 3586.132813, 550.927185),
  19. RationCPDispPos = Vector(1803.898438, 674.680115, 804.312073),
  20. RemoveObjByPos={
  21. Vector(1173.000000, -382.000000, 74.339996),
  22. Vector(1175.000000, -389.000000, 73.302002),
  23. Vector(1023.000000, -382.000000, 74.339996),
  24. Vector(938.000000, -382.000000, 74.339996)
  25. },
  26. ButtonTable = {
  27.  
  28. {
  29. pos = Vector(2192.010010, 906.359985, 939.510010 ),
  30. check = function(p)
  31. if p:Team() == TEAM_CP or p:Team() == TEAM_OVERWATCH or p:Team() == TEAM_ADMINISTRATOR or p:IsAdmin() then
  32. jw = true
  33. if jw == true then
  34. p:notify("You have deactivated JW.")
  35.  
  36. return true
  37. else
  38.  
  39. p:notify("You have activated JW.")
  40.  
  41. return true
  42. end
  43.  
  44. else
  45. p:notify("You must be a higher rank to activate this.")
  46. return false
  47.  
  48. end
  49.  
  50. end
  51. },
  52.  
  53. {
  54. pos = Vector(2160.010010, 908.520020, 936.989990 ),
  55. check = function(p)
  56. if p:IsAdmin() then
  57. p:notify("You have activated lockdown.")
  58.  
  59. return true
  60. else
  61.  
  62. p:notify("You must be an admin to perform this action.")
  63.  
  64. return false
  65.  
  66.  
  67. end
  68.  
  69.  
  70. end
  71. },
  72. {
  73. pos = Vector(2258.010010, 912.119995, 940.090027 ),
  74. check = function(p)
  75. if p:IsAdmin() then
  76. p:notify("You have activated thumpers.")
  77.  
  78. return true
  79. else
  80.  
  81. p:notify("You must be an admin to perform this action.")
  82.  
  83. return false
  84.  
  85.  
  86. end
  87.  
  88.  
  89. end
  90. }
  91.  
  92. },
  93. BioZones={
  94. ["Plaza"]={Vector(1289.985596, 3577.594727, 462.567841),Vector(-579.104858, 780.070496, 1894.703613)},
  95. ["CWU Block"]={Vector( 80.010956, 392.066895, 410.826996),Vector(-2573.559326, -1815.437500, 1196.281982)},
  96. ["Nexus (Lower)"]={Vector(-419.959229, -2223.557617, -265.056122),Vector( 2078.324951, 694.232178, 410.962036)},
  97. ["Nexus (Upper)"]={Vector(2503.161865, 518.211670, 537.514038),Vector(1456.461304, 1396.226074, 3903.375000)},
  98. ["Trainstation"]={Vector( -562.355408, 3192.391846, 1307.742676),Vector(-2437.369385, 1118.921753, 539.975525)},
  99. ["Checkpoint"]={Vector(4928.832031, 1716.839478, 409.814728),Vector(2865.234619, -1246.801147, 1434.107544)},
  100. ["Residential"]={Vector(3706.463379, 1905.920288, 454.658264),Vector(1371.479248, 3548.520264, 1285.428345)},
  101. ["Abandoned train yard"]={Vector(-2117.502441, 1971.503418, 873.890015),Vector(-3843.302979, 457.810242, -60.171127)}
  102. },
  103. CitadelPortal=Vector(776.069275, 1932.165527, 1211.063354)
  104. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement