adeadgnoll.lua 492 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/Antonica/adeadgnoll.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.10 06:05:06
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. Model(NPC)
  10. end
  11. function Model(NPC)
  12. local Choice = MakeRandomInt(1,3)
  13. if Choice ==1 then
  14. SpawnSet(NPC,"model_type","1384")
  15. elseif Choice ==2 then
  16. SpawnSet(NPC,"model_type","3816")
  17. else
  18. SpawnSet(NPC,"model_type","3814")
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end