9
3

adistressedmerchant.lua 622 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/Antonica/adistressedmerchant.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.08.12 08:08:09
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 15, "InRange")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function InRange(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. PlayFlavor(NPC, "", "I beg of you to help me. These foul beasts have blocked off my escape. Help me out and I'll help you in return.", "notworthy", 1689589577, 4560189, Spawn)
  20. end