9
3

aGuttersnipehooliganPath4.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/TheSprawl_Classic/aGuttersnipehooliganPath4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.11.10 07:11:13
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. human(NPC)
  12. waypoints(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, -77.85, -4.29, 62.21, 2, math.random(8,15))
  22. MovementLoopAddLocation(NPC, -77.85, -4.29, 62.21, 2, 0)
  23. MovementLoopAddLocation(NPC, -72.6, -4.42, 67.17, 2, 0)
  24. MovementLoopAddLocation(NPC, -68.36, -4.42, 74.23, 2, math.random(8,15))
  25. MovementLoopAddLocation(NPC, -68.36, -4.42, 74.23, 2, 0)
  26. MovementLoopAddLocation(NPC, -72.31, -4.42, 69.09, 2, 0)
  27. MovementLoopAddLocation(NPC, -86.31, -4.24, 56.54, 2, math.random(8,15))
  28. MovementLoopAddLocation(NPC, -86.31, -4.24, 56.54, 2, 0)
  29. MovementLoopAddLocation(NPC, -79.99, -4.24, 61.65, 2, 0)
  30. MovementLoopAddLocation(NPC, -77.69, -4.42, 72.62, 2, math.random(8,15))
  31. MovementLoopAddLocation(NPC, -77.69, -4.42, 72.62, 2, 0)
  32. MovementLoopAddLocation(NPC, -73.83, -4.42, 64.21, 2, math.random(8,15))
  33. MovementLoopAddLocation(NPC, -73.83, -4.42, 64.21, 2, 0)
  34. MovementLoopAddLocation(NPC, -74.09, -4.42, 70.83, 2, 0)
  35. MovementLoopAddLocation(NPC, -72.8, -4.42, 76.81, 2, math.random(8,15))
  36. MovementLoopAddLocation(NPC, -72.8, -4.42, 76.81, 2, 0)
  37. MovementLoopAddLocation(NPC, -78.88, -4.24, 61.92, 2, 0)
  38. MovementLoopAddLocation(NPC, -76.32, -4.31, 53.17, 2, math.random(8,15))
  39. MovementLoopAddLocation(NPC, -76.32, -4.31, 53.17, 2, 0)
  40. end