9
3

Ivanhoe.lua 440 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/Ivanhoe.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.11.04 04:11:41
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/ExpelNonCitizen.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  11. end
  12. function InRange(NPC, Spawn)
  13. NonCitizen(NPC,Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end