Chopper.lua 441 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/Chopper.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.11.03 06:11:34
  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