SHARE
TWEET

Untitled

a guest Dec 8th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AddCSLuaFile()
  2. local NpcLocations = {}
  3.  
  4. NpcLocations["poisson"] =  { { Vector(-6546, 5296, 290) }, { Angle(0, -90, 0) } }
  5. NpcLocations["blaze_it"] = { { Vector(-6965, 3237, 300) }, { Angle(0, -90, 0) } }
  6. NpcLocations["hardware"] = { { Vector(-6943, 3865, 300) }, { Angle(0, 90, 0) } }
  7. NpcLocations["bartender"] = { { Vector(-3492.1, -5285.1, 16), Vector(-10827, 5344, 192) }, {Angle(0, 180, 0), Angle(0, -180, 0)} }
  8. NpcLocations["bakery"] = { { Vector(4195, 9765, 80), Vector(-8250, 964, 20) }, { Angle(0, -90, 0), Angle(0, 180, 0) } }
  9. NpcLocations["convenience"] = { { Vector(-6577, 1070, 292), Vector(-11421, 10701, 64), Vector(-8730, -7246, 292) }, { Angle(0, 90, 0), Angle(0, 180, 0), Angle(0, -90, 0) } }
  10. NpcLocations["furniture"] = { { Vector(-7165, 3867, 300) }, { Angle(0, 90, 0) } }
  11. NpcLocations["coffee"] = { { Vector(-7444, 5304, 290) }, { Angle(0, 180, 0) } }
  12. NpcLocations["chair"] = { { Vector(-7523, 3955, 320) }, { Angle(0, 180, 0) } }
  13. NpcLocations["tech"] = { { Vector(-12293, -12608, 292) }, Angle(0, -90, 0) }
  14. NpcLocations["safety"] = { { Vector(-6457, 3814, 320) }, { Angle(0, 0, 0) } }
  15. NpcLocations["armory"] = { { Vector(-8832, 10722, 128) }, { Angle(0, -90, 0) } }
  16. NpcLocations["storage"] = { { Vector(4595, 10680, 80) }, { Angle(0, 0, 0) } }
  17. NpcLocations["delivery"] = { { Vector(-3974, -6657, 40) }, { Angle(0, -180, 0) } }
  18. NpcLocations["fireman"] = { { Vector(-13326, 12811, 64) }, { Angle(0, -90, 0) } }
  19. NpcLocations["cityhall"] = { { Vector(-4728, 11078, 416), Vector(-4728, 11445, 416) }, { Angle(0, 180, 0), Angle(0, 180, 0) } }
  20. NpcLocations["hospital"] = { { Vector(-6797, 6298, 292) }, { Angle(0, 0, 0) } }
  21. NpcLocations["medic"] = { { Vector(-6825, 6717, 292) }, { Angle(0, 90, 0) } }
  22. NpcLocations["canteen"] = { { Vector(-9506, 10497, 288) }, { Angle(0, -35, 0) } }
  23. NpcLocations["police"] = { { Vector(-8953, 10598, 288) }, { Angle(0, 90, 0) } }
  24. NpcLocations["policegate"] = { { Vector(-8679, 9297, 300) }, { Angle(0, 90, 0) } }
  25. NpcLocations["prison"] = { { Vector(-8372, 10351, -775) }, { Angle(0, 90, 0) } }
  26. NpcLocations["roadcrew"] = { { Vector(-10703, 9553, 68) }, { Angle(0, 150, 0) } }
  27. NpcLocations["taxi"] = { { Vector(-7604, 1294, 292) }, { Angle(0, 90, 0) } }
  28. NpcLocations["atm"] = { {
  29.     Vector(-8851, -7960, 296),
  30.     Vector(-11136, -7965, 292),
  31.     Vector(-8910, -10816, 292),
  32.     Vector(-13528, -7242, 296),
  33.     Vector(12680, 7223, 80),
  34.     Vector(4225, 9918, 80),
  35.     Vector(-11793, -9214, 294),
  36.     Vector(-5248, 11621, 417),
  37.     Vector(-7456, 6889, 292),
  38.     Vector(-4552, 5701, 288),
  39.     Vector(-6814, 1328, 292),
  40.     Vector(-11793, -9214, 294),
  41.     Vector(-12001, -12976, 292),
  42.     Vector(-12040, 10802, 68),
  43.     Vector(-3633, -5580, 16)},
  44.     {
  45.     Angle(0, 90, 0),
  46.     Angle(0, 0, 0),
  47.     Angle(0, 90, 0),
  48.     Angle(0, 0, 0),
  49.     Angle(0, 0, 0),
  50.     Angle(0, 90, 0),
  51.     Angle(0, -180, 0),
  52.     Angle(0, 0, 0),
  53.     Angle(0, -180, 0),
  54.     Angle(0, 180, 0),
  55.     Angle(0, -90, 0),
  56.     Angle(0, 180, 0),
  57.     Angle(0, -90, 0),
  58.     Angle(0, 0, 0),
  59.     Angle(0, 90, 0) }
  60. }
  61. NpcLocations["bankmanager"] = { { Vector(-4112, 5643, 288) }, { Angle(0, -180, 0) } }
  62. NpcLocations["facial"] = { { Vector(4109, 12639, 80), Vector(-11450, -12663, 292) }, { Angle(0, 0, 0), Angle(0, -90, 0) } }
  63. NpcLocations["genes"] = { { Vector(-6959, 6616, 292) }, { Angle(0, 180, 0) } }
  64. NpcLocations["helper"] = { { Vector(-4693, 12415, 436) }, { Angle(0, 200, 0) } }
  65. NpcLocations["gender"] = { { Vector(-6419, 6701, 292) }, { Angle(0, 180, 0) } }
  66. NpcLocations["realtor"] = { { Vector(-4892, 5001, 288), Vector(-4892, 5188, 289), Vector(-4892, 5375, 288) }, { Angle(0, 180, 0), Angle(0, 180, 0), Angle(0, 180, 0) } }
  67. NpcLocations["gunlocker"] = { {
  68.     Vector(-8488, 5431, -14812.5),
  69.     Vector(-8488, 5079, -14812.5),
  70.     Vector(-8488, 4727, -14812.5),
  71.     Vector(-8488, 4375, -14812.5),
  72.     Vector(-8488, 4023, -14812.5),
  73.     Vector(-8488, 3671, -14812.5),
  74.     Vector(-8488, 3319, -14812.5),
  75.     Vector(-8488, 2967, -14812.5) },
  76. {
  77.     Angle(0, -90, 0),
  78.     Angle(0, -90, 0),
  79.     Angle(0, -90, 0),
  80.     Angle(0, -90, 0),
  81.     Angle(0, -90, 0),
  82.     Angle(0, -90, 0),
  83.     Angle(0, -90, 0),
  84.     Angle(0, -90, 0) }
  85. }
  86. NpcLocations["oldphone"] = { {
  87.     Vector(-8487, 5280, -14786),
  88.     Vector(-8487, 4928, -14786),
  89.     Vector(-8487, 4576, -14786),
  90.     Vector(-8487, 4224, -14786),
  91.     Vector(-8487, 3872, -14786),
  92.     Vector(-8487, 3520, -14786),
  93.     Vector(-8487, 3168, -14786),
  94.     Vector(-8487, 2816, -14786) },
  95. {
  96.     Angle(0, 90, 0),
  97.     Angle(0, 90, 0),
  98.     Angle(0, 90, 0),
  99.     Angle(0, 90, 0),
  100.     Angle(0, 90, 0),
  101.     Angle(0, 90, 0),
  102.     Angle(0, 90, 0),
  103.     Angle(0, 90, 0) }
  104. }
  105. NpcLocations["carpimper"] = { { Vector(-9276, -10864, 296) }, { Angle(0, -90, 0) } }
  106. NpcLocations["cardealer"] = { { Vector(-9176, -10904, 464) }, { Angle(0, -90, 0) } }
  107. NpcLocations["cardealerpremium"] = { { Vector(-9251, -10897, 464) }, { Angle(0, -90, 0) } }
  108. NpcLocations["fuelpump"] = { {
  109.     Vector(-6444, 1819.5, 296),
  110.     Vector(-6780, 1819.5, 296),
  111.     Vector(-6780, 1780.5, 296),
  112.     Vector(-6444, 1780.5, 296),
  113.  
  114.     Vector(-12036.5, 10632, 68),
  115.     Vector(-12036.5, 10968, 68),
  116.     Vector(-12075.5, 10968, 68),
  117.     Vector(-12075.5, 10632, 68),
  118.  
  119.     Vector(-8680, -7956.5, 296),
  120.     Vector(-9016, -7956.5, 296),
  121.     Vector(-9016, -7995, 296),
  122.     Vector(-8680, -7995, 296) },
  123. {
  124.     Angle(0, 90, 0),
  125.     Angle(0, 90, 0),
  126.     Angle(0, -90, 0),
  127.     Angle(0, -90, 0),
  128.  
  129.     Angle(0, 0, 0),
  130.     Angle(0, 0, 0),
  131.     Angle(0, 180, 0),
  132.     Angle(0, 180, 0),
  133.  
  134.     Angle(0, 90, 0),
  135.     Angle(0, 90, 0),
  136.     Angle(0, -90, 0),
  137.     Angle(0, -90, 0)}
  138. }
  139. NpcLocations["garage"] = { { Vector(-4602, 2054, 292), Vector(-9311, -10656, 292) }, { Angle(0, 90, 0), Angle(0, 90, 0) } }
  140. NpcLocations["carrepair"] = { { Vector(-7558, -7120, 292) }, { Angle(0, -90, 0) } }
  141. NpcLocations["carupgrade"] = { { Vector(-7976, -7115, 292) }, { Angle(0, -90, 0) } }
  142. NpcLocations["carwash"] = { { Vector(-7421, -9432, 292) }, { Angle(0, 135, 0) } }
  143. NpcLocations["enginerepair"] = { { Vector(-10663, 9964, 68) }, { Angle(0, -161, 0) } }
  144.  
  145.  
  146. function GetNPCLocation(npc)
  147.     if (type(npc) ~= "string") then
  148.         return
  149.     end
  150.     return NpcLocations[npc][1]
  151. end
  152.  
  153. function GetNPCAngle(npc)
  154.     if (type(npc) ~= "string") then
  155.         return
  156.     end
  157.     return NpcLocations[npc][2]
  158. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top