LockedDoors.lua 452 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/TempleStreet2/LockedDoors.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.18 08:08:46
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function usedoor(NPC, Spawn, IsOpen)
  11. if IsOpen == true then
  12. CloseDoor()
  13. else
  14. if Spawn then
  15. SendMessage(Spawn, "This door is closed.", "yellow")
  16. end
  17. end
  18. end
  19. function respawn(NPC)
  20. end