9
3

aMilitiaguardInvestigation.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Freeport/aMilitiaguardInvestigation.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.21 07:07:29
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local choice = math.random(1, 5)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "", "Please leave and take your curiosity elsewhere!", "", 1689589577, 4560189, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "If there is no reason for you to be here, leave this area at once!", "scold", 1689589577, 4560189, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "", "Please do not come near the area while militia officers are conducting their operation.", "", 1689589577, 4560189, Spawn)
  19. elseif choice == 4 then
  20. PlayFlavor(NPC, "", "There is nothing to see here. Move along!", "stare", 1689589577, 4560189, Spawn)
  21. else
  22. PlayFlavor(NPC, "", "This is official militia business. Please leave the premise right now! ", "glare", 1689589577, 4560189, Spawn)
  23. end
  24. end
  25. function respawn(NPC)
  26. end